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.

    Methods inherited from class com.bandwidth.exceptions.ApiException

    getHttpContext, getResponseCode

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PathClientException

      public PathClientException​(java.lang.String reason, HttpContext context)
      Initialization constructor
      Parameters:
      reason - The reason for throwing exception
      context - 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 class java.lang.Throwable
    • getPath

      public java.lang.String getPath()
      Getter for Path.