Package com.orchestranetworks.service
Interface ProcedureResult
-
public interface ProcedureResultRepresents the result of a procedure execution.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConstraintViolationExceptiongetConstraintViolationException()Returns the exception thrown if the procedure execution failed due to a constraint violation,nullotherwise.OperationExceptiongetException()Returns the exception thrown if the procedure execution failed,nullotherwise.StringgetExceptionFullMessage(Locale aLocale)Returns a full, localized user message with the exception thrown if procedure execution has failed,nullotherwise.DategetExecutionTimestamp()Returns the timestamp of the procedure execution.StringgetExecutionUUIDString()Returns a universally unique identifier (UUID) of the procedure execution.booleanhasFailed()Returnstrueif the procedure execution has failed.
-
-
-
Method Detail
-
hasFailed
boolean hasFailed()
Returnstrueif the procedure execution has failed.
-
getException
OperationException getException()
Returns the exception thrown if the procedure execution failed,nullotherwise.- See Also:
getConstraintViolationException()
-
getConstraintViolationException
ConstraintViolationException getConstraintViolationException()
Returns the exception thrown if the procedure execution failed due to a constraint violation,nullotherwise.- Since:
- 5.4.2
- See Also:
ProcedureContext.setBlockingConstraintsDisabled(boolean)
-
getExceptionFullMessage
String getExceptionFullMessage(Locale aLocale)
Returns a full, localized user message with the exception thrown if procedure execution has failed,nullotherwise. Includes the possible causes.
-
getExecutionTimestamp
Date getExecutionTimestamp()
Returns the timestamp of the procedure execution.- See Also:
ProcedureContext.getExecutionTimestamp()
-
getExecutionUUIDString
String getExecutionUUIDString()
Returns a universally unique identifier (UUID) of the procedure execution.
-
-