Package com.whatsapp.api.exception
Class WhatsappApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.whatsapp.api.exception.WhatsappApiException
- All Implemented Interfaces:
Serializable
The type Whatsapp api exception.
- See Also:
-
Constructor Summary
ConstructorDescriptionInstantiates a new Whatsapp api exception.WhatsappApiException
(WhatsappApiError whatsappApiError) Instantiates a new Whatsapp api exception.WhatsappApiException
(Throwable cause) Instantiates a new Whatsapp api exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WhatsappApiException
public WhatsappApiException()Instantiates a new Whatsapp api exception. -
WhatsappApiException
Instantiates a new Whatsapp api exception.- Parameters:
cause
- the cause
-
WhatsappApiException
Instantiates a new Whatsapp api exception.- Parameters:
whatsappApiError
- the whatsapp api error
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-
getError
-