Class APIException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.pushtechnology.diffusion.exceptions.CheckedDiffusionException
com.pushtechnology.diffusion.DiffusionException
com.pushtechnology.diffusion.api.APIException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConfigException

public class APIException extends com.pushtechnology.diffusion.DiffusionException
This is the base exception class for all Diffusion API exceptions.

Some API interfaces throw this exception as a convenient catch all for all API exceptions.

See Also:
  • Constructor Details

    • APIException

      public APIException(String message, Throwable cause)
      Create a new APIException.
      Parameters:
      message - text describing the exception
      cause - the cause of the exception
    • APIException

      public APIException(String message)
      Create a new APIException.
      Parameters:
      message - text describing the exception