Class GenericClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.bandwidth.exceptions.ApiException
com.bandwidth.messaging.exceptions.GenericClientException
- All Implemented Interfaces:
java.io.Serializable
public class GenericClientException extends ApiException
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description GenericClientException(java.lang.String reason, HttpContext context)
Initialization constructor -
Method Summary
Modifier and Type Method Description java.lang.String
getDescription()
Getter for Description.java.util.List<FieldError>
getFieldErrors()
Getter for FieldErrors.java.lang.String
getType()
Getter for Type.
-
Constructor Details
-
GenericClientException
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. -
getDescription
public java.lang.String getDescription()Getter for Description. -
getFieldErrors
Getter for FieldErrors.
-