java.lang.Object
java.lang.Throwable
java.lang.Exception
com.exxothermic.audioeverywheresdk.webservices.exceptions.ServiceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HttpClientException, HttpServerException

public class ServiceException extends Exception
Class which serves as the WebServiceResponseHandler exception model
Since:
9/30/13
See Also:
  • Constructor Details

    • ServiceException

      public ServiceException()
  • Method Details

    • getCode

      public int getCode()
      Getter for the exception's code
      Returns:
      The exception's code
    • setCode

      public void setCode(int code)
      Setter for the exception's code
      Parameters:
      code - The new exception's code
    • getMessage

      public String getMessage()
      Getter for the exception's message
      Overrides:
      getMessage in class Throwable
      Returns:
      The exception's message
    • setMessage

      public void setMessage(String message)
      Setter for the exception's message
      Parameters:
      message - The new exception's message