Class MessagingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.avaya.clientservices.messaging.MessagingException
-
- All Implemented Interfaces:
java.io.Serializable
public class MessagingException extends java.lang.Exception implements java.io.SerializableException representing a messaging failure.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MessagingException(MessagingError error)MessagingException(MessagingError error, int protocolErrorCode, java.lang.String protocolErrorReason)MessagingException(java.lang.String detailMessage, MessagingError error, int protocolErrorCode, java.lang.String protocolErrorReason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessagingErrorgetError()Returns messaging error type.intgetProtocolErrorCode()Returns the error code from the underlying signaling protocol.java.lang.StringgetProtocolErrorReason()Returns the error reason string from the underlying signaling protocol.
-
-
-
Constructor Detail
-
MessagingException
public MessagingException(MessagingError error)
-
MessagingException
public MessagingException(MessagingError error, int protocolErrorCode, java.lang.String protocolErrorReason)
-
MessagingException
public MessagingException(java.lang.String detailMessage, MessagingError error, int protocolErrorCode, java.lang.String protocolErrorReason)
-
-
Method Detail
-
getError
public MessagingError getError()
Returns messaging error type.- Returns:
- messaging error type.
-
getProtocolErrorCode
public int getProtocolErrorCode()
Returns the error code from the underlying signaling protocol.- 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.- Returns:
- the error reason string from the underlying signaling protocol.
-
-