Package com.bandwidth.voice.exceptions
Class ErrorResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.bandwidth.exceptions.ApiException
com.bandwidth.voice.exceptions.ErrorResponseException
- All Implemented Interfaces:
java.io.Serializable
public class ErrorResponseException extends ApiException
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ErrorResponseException(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
getId()
Getter for Id.TypeEnum
getType()
Getter for Type.
-
Constructor Details
-
ErrorResponseException
Initialization constructor- Parameters:
reason
- The reason for throwing exceptioncontext
- The http context of the API exception
-
-
Method Details
-
getType
Getter for Type. -
getDescription
public java.lang.String getDescription()Getter for Description. -
getId
public java.lang.String getId()Getter for Id.
-