Class OperationProviderError
- java.lang.Object
-
- com.opencloud.slee.resources.sis.script.in.interceptors.Operation
-
- com.opencloud.slee.resources.sis.script.in.interceptors.OperationError
-
- com.opencloud.slee.resources.sis.script.in.interceptors.OperationProviderError
-
public final class OperationProviderError extends OperationError
An operation provider error result sent or received by an interceptor extension component.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.opencloud.slee.resources.sis.script.in.interceptors.Operation
Operation.Type
-
-
Constructor Summary
Constructors Constructor Description OperationProviderError(TcapOperation op, int invokeID, ProviderErrorReason reason, RejectProblem rejectProblem)
Create a new operation representing an invoke provider error result.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Get a descriptive name for this operation.ProviderErrorReason
getReason()
Get the reason for the provider error.RejectProblem
getRejectProblem()
Get the optional reject problem.Operation.Type
getType()
Get the type of operation.String
toString()
-
Methods inherited from class com.opencloud.slee.resources.sis.script.in.interceptors.Operation
getInvokeID, getOperation
-
-
-
-
Constructor Detail
-
OperationProviderError
public OperationProviderError(TcapOperation op, int invokeID, ProviderErrorReason reason, RejectProblem rejectProblem)
Create a new operation representing an invoke provider error result.- Parameters:
op
- operation metadata object that identifies the operation.invokeID
- the invoke ID for the operation.reason
- the reason for the provider error.rejectProblem
- additional information further describing the rejection problem. May benull
.- Throws:
NullPointerException
- ifop
orreason
isnull
.
-
-
Method Detail
-
getType
public Operation.Type getType()
Description copied from class:Operation
Get the type of operation.
-
getReason
public ProviderErrorReason getReason()
Get the reason for the provider error.- Returns:
- the reason.
-
getRejectProblem
public RejectProblem getRejectProblem()
Get the optional reject problem.- Returns:
- the reject problem, or
null
if no problem was specified.
-
getName
public String getName()
Description copied from class:Operation
Get a descriptive name for this operation.
-
-