Class PathClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.bandwidth.exceptions.ApiException
com.bandwidth.messaging.exceptions.PathClientException
- All Implemented Interfaces:
java.io.Serializable
public class PathClientException extends ApiException
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PathClientException(java.lang.String reason, HttpContext context)
Initialization constructor -
Method Summary
Modifier and Type Method Description java.lang.String
getError()
Getter for Error.java.lang.String
getMessage()
Getter for Message.java.lang.String
getPath()
Getter for Path.java.lang.Integer
getStatus()
Getter for Status.java.lang.String
getTimestamp()
Getter for Timestamp.
-
Constructor Details
-
PathClientException
Initialization constructor- Parameters:
reason
- The reason for throwing exceptioncontext
- The http context of the API exception
-
-
Method Details
-
getTimestamp
public java.lang.String getTimestamp()Getter for Timestamp. -
getStatus
public java.lang.Integer getStatus()Getter for Status. -
getError
public java.lang.String getError()Getter for Error. -
getMessage
public java.lang.String getMessage()Getter for Message.- Overrides:
getMessage
in classjava.lang.Throwable
-
getPath
public java.lang.String getPath()Getter for Path.
-