Class InterceptorInvocationResult.Failed
- java.lang.Object
-
- com.opencloud.slee.resources.sis.script.interceptors.InterceptorInvocationResult
-
- com.opencloud.slee.resources.sis.script.interceptors.InterceptorInvocationResult.Failed
-
- Enclosing class:
- InterceptorInvocationResult
public static final class InterceptorInvocationResult.Failed extends InterceptorInvocationResult
Class representing a failed result trying to invoke an interceptor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInterceptorInvocationResult.Failed.ReasonInterceptor invocation failure reasons.-
Nested classes/interfaces inherited from class com.opencloud.slee.resources.sis.script.interceptors.InterceptorInvocationResult
InterceptorInvocationResult.Completed, InterceptorInvocationResult.Failed, InterceptorInvocationResult.InProgress, InterceptorInvocationResult.Outcome
-
-
Constructor Summary
Constructors Constructor Description Failed(InterceptorInvocationResult.Failed.Reason reason, String cause)Create a new interceptor invocation failed result.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCause()Get the cause description for the failure.InterceptorInvocationResult.Failed.ReasongetReason()Get the reason why the interceptor invocation failed.StringtoString()-
Methods inherited from class com.opencloud.slee.resources.sis.script.interceptors.InterceptorInvocationResult
getOutcome
-
-
-
-
Constructor Detail
-
Failed
public Failed(InterceptorInvocationResult.Failed.Reason reason, String cause)
Create a new interceptor invocation failed result.- Parameters:
reason- the reason the invocation failed.cause- a string description giving more information why the invocation failed.
-
-
Method Detail
-
getReason
public InterceptorInvocationResult.Failed.Reason getReason()
Get the reason why the interceptor invocation failed.- Returns:
- the failure reason.
-
getCause
public String getCause()
Get the cause description for the failure.- Returns:
- a string description giving more information why the invocation failed.
-
-