Class OperationUserError
- 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.OperationUserError
-
public final class OperationUserError extends OperationError
An operation user 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 OperationUserError(TcapOperation op, int invokeID, TcapError error, Object parameter)
Create a new operation representing an invoke provider error result.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TcapError
getError()
Get the error metadata that describes the operation error.String
getName()
Get a descriptive name for this operation.Object
getParameter()
Get the parameter associated with the error.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
-
OperationUserError
public OperationUserError(TcapOperation op, int invokeID, TcapError error, Object parameter)
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.error
- metadata object that identifies the user error.parameter
- optional error parameter associated with the error. May benull
.- Throws:
NullPointerException
- ifop
orerror
isnull
.
-
-
Method Detail
-
getType
public Operation.Type getType()
Description copied from class:Operation
Get the type of operation.
-
getError
public TcapError getError()
Get the error metadata that describes the operation error.- Returns:
- the error metadata that describes the operation error.
-
getParameter
public Object getParameter()
Get the parameter associated with the error.- Returns:
- the parameter associated with this error, or
null
if no parameter was specified.
-
getName
public String getName()
Description copied from class:Operation
Get a descriptive name for this operation.
-
-