Class MessagingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.bandwidth.exceptions.ApiException
com.bandwidth.messaging.exceptions.MessagingException
- All Implemented Interfaces:
java.io.Serializable
public class MessagingException extends ApiException
This is a model class for MessagingException type.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description MessagingException(java.lang.String reason, HttpContext context)
Initialization constructor. -
Method Summary
Modifier and Type Method Description java.lang.String
getDescription()
Getter for Description.java.lang.String
getType()
Getter for Type.
-
Constructor Details
-
MessagingException
Initialization constructor.- Parameters:
reason
- The reason for throwing exceptioncontext
- The http context of the API exception
-
-
Method Details
-
getType
public java.lang.String getType()Getter for Type.- Returns:
- Returns the String
-
getDescription
public java.lang.String getDescription()Getter for Description.- Returns:
- Returns the String
-