Class GravatarJavaClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.natche.gravatarjavaclient.exceptions.GravatarJavaClientException
- All Implemented Interfaces:
Serializable
An exception thrown by the GravatarJavaClient API.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGravatarJavaClientException(Exception exception) Creates a newGravatarJavaClientExceptionfrom the provided exception.GravatarJavaClientException(String message) Creates a newGravatarJavaClientExceptionwith the provided message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GravatarJavaClientException
Creates a newGravatarJavaClientExceptionwith the provided message.- Parameters:
message- the message- Throws:
NullPointerException- if the provided message is null
-
GravatarJavaClientException
Creates a newGravatarJavaClientExceptionfrom the provided exception.- Parameters:
exception- the exception- Throws:
NullPointerException- if the provided exception is null
-