Package com.avoka.component.docusign
Class DocuSignException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.avoka.component.docusign.DocuSignException
-
- All Implemented Interfaces:
Serializable
public class DocuSignException extends RuntimeException
Provides a DocuSign service exception class.- Since:
- 3.6.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DocuSignException(String message)
Create a DocuSign service exception with the given message.DocuSignException(String response, String context)
Create a DocuSign service exception with the given response and context.DocuSignException(String message, Throwable cause)
Create a DocuSign service exception with the given message and cause.DocuSignException(Throwable cause)
Create a DocuSign service exception with the given cause.DocuSignException(Throwable cause, String response, String context)
Create a DocuSign service exception with the given cause, response and context.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
Return the string representation of the object.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
DocuSignException
public DocuSignException(Throwable cause, String response, String context)
Create a DocuSign service exception with the given cause, response and context.- Parameters:
cause
- the cause of the errorresponse
- the service responsecontext
- the error context
-
DocuSignException
public DocuSignException(String response, String context)
Create a DocuSign service exception with the given response and context.- Parameters:
response
- the service responsecontext
- the error context
-
DocuSignException
public DocuSignException(String message, Throwable cause)
Create a DocuSign service exception with the given message and cause.- Parameters:
message
- the error messagecause
- the cause of the error
-
DocuSignException
public DocuSignException(String message)
Create a DocuSign service exception with the given message.- Parameters:
message
- the error message
-
DocuSignException
public DocuSignException(Throwable cause)
Create a DocuSign service exception with the given cause.- Parameters:
cause
- the cause of the error
-
-