Class FeatureException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.avaya.clientservices.call.feature.FeatureException
-
- All Implemented Interfaces:
java.io.Serializable
public class FeatureException extends java.lang.ExceptionException representing a feature invocation failure.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FeatureException(FeatureError error)Constructs a FeatureException object initialized with Feature error.FeatureException(java.lang.String detailMessage, FeatureError error, int protocolErrorCode, java.lang.String protocolErrorReason, int protocolWarningCode, java.lang.String protocolWarning)Constructs a FeatureException object from specified parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeatureErrorgetError()intgetProtocolErrorCode()java.lang.StringgetProtocolErrorReason()java.lang.StringgetProtocolWarning()Returns the warning string from the underlying signaling protocol.intgetProtocolWarningCode()
-
-
-
Constructor Detail
-
FeatureException
public FeatureException(FeatureError error)
Constructs a FeatureException object initialized with Feature error.- Parameters:
error- The Feature error.
-
FeatureException
public FeatureException(java.lang.String detailMessage, FeatureError error, int protocolErrorCode, java.lang.String protocolErrorReason, int protocolWarningCode, java.lang.String protocolWarning)Constructs a FeatureException object from specified parameters.- Parameters:
detailMessage- A message that describes the error.error- The feature invocation error.protocolErrorCode- The error code from the underlying signaling protocol..protocolErrorReason- The reason string from the underlying signaling protocol.protocolWarningCode- The error code from the underlying signaling protocol.protocolWarning- The warning string from the underlying signaling protocol.
-
-
Method Detail
-
getError
public FeatureError getError()
- Returns:
- session error type.
-
getProtocolErrorCode
public int getProtocolErrorCode()
- Returns:
- the error code from the underlying signaling protocol.
-
getProtocolErrorReason
public java.lang.String getProtocolErrorReason()
- Returns:
- the error reason string from the underlying signaling protocol.
-
getProtocolWarningCode
public int getProtocolWarningCode()
- Returns:
- the warning code from the underlying signaling protocol.
-
getProtocolWarning
public java.lang.String getProtocolWarning()
Returns the warning string from the underlying signaling protocol.- Returns:
- the warning string from the underlying signaling protocol.
-
-