Package com.orchestranetworks.service
Interface ProcedureResult
public interface ProcedureResult
Represents the result of a procedure execution.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the exception thrown if the procedure execution failed due to a constraint violation,null
otherwise.Returns the exception thrown if the procedure execution failed,null
otherwise.getExceptionFullMessage
(Locale aLocale) Returns a full, localized user message with the exception thrown if procedure execution has failed,null
otherwise.Returns the timestamp of the procedure execution.Returns a universally unique identifier (UUID) of the procedure execution.boolean
Returnstrue
if the procedure execution has failed.
-
Method Details
-
hasFailed
boolean hasFailed()Returnstrue
if the procedure execution has failed. -
getException
OperationException getException()Returns the exception thrown if the procedure execution failed,null
otherwise.- See Also:
-
getConstraintViolationException
ConstraintViolationException getConstraintViolationException()Returns the exception thrown if the procedure execution failed due to a constraint violation,null
otherwise.- Since:
- 5.4.2
- See Also:
-
getExceptionFullMessage
Returns a full, localized user message with the exception thrown if procedure execution has failed,null
otherwise. Includes the possible causes. -
getExecutionTimestamp
Date getExecutionTimestamp()Returns the timestamp of the procedure execution.- See Also:
-
getExecutionUUIDString
String getExecutionUUIDString()Returns a universally unique identifier (UUID) of the procedure execution.
-