Package com.pushtechnology.diffusion.api
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 Summary
ConstructorsConstructorDescriptionAPIException
(String message) Create a new APIException.APIException
(String message, Throwable cause) Create a new APIException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
APIException
Create a new APIException.- Parameters:
message
- text describing the exceptioncause
- the cause of the exception
-
APIException
Create a new APIException.- Parameters:
message
- text describing the exception
-