public final class OperationProviderError extends OperationError
Operation.Type
Constructor and Description |
---|
OperationProviderError(TcapOperation op,
int invokeID,
ProviderErrorReason reason,
RejectProblem rejectProblem)
Create a new operation representing an invoke provider error result.
|
Modifier and Type | Method and 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() |
getInvokeID, getOperation
public OperationProviderError(TcapOperation op, int invokeID, ProviderErrorReason reason, RejectProblem rejectProblem)
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 be null
.NullPointerException
- if op
or reason
is null
.public Operation.Type getType()
Operation
public ProviderErrorReason getReason()
public RejectProblem getRejectProblem()
null
if no problem was specified.public String getName()
Operation