public class MaileonException
extends java.lang.RuntimeException
Constructor and Description |
---|
MaileonException()
Instantiates a new maileon exception.
|
MaileonException(int statusCode,
java.lang.String reasonPhrase)
Instantiates a new maileon exception.
|
MaileonException(StatusType status)
Instantiates a new maileon exception.
|
MaileonException(StatusType status,
java.lang.String message)
Instantiates a new maileon exception.
|
MaileonException(java.lang.String message)
Instantiates a new maileon exception.
|
MaileonException(java.lang.String message,
java.lang.Throwable t)
Instantiates a new maileon exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getReasonPhrase()
Gets the reason phrase.
|
int |
getStatusCode()
Gets the status code.
|
public MaileonException()
public MaileonException(java.lang.String message)
message
- the messagepublic MaileonException(java.lang.String message, java.lang.Throwable t)
message
- the messaget
- the tpublic MaileonException(int statusCode, java.lang.String reasonPhrase)
statusCode
- the status codereasonPhrase
- the reason phrasepublic MaileonException(StatusType status)
status
- the statuspublic MaileonException(StatusType status, java.lang.String message)
status
- the statusmessage
- the messageCopyright © 2017. All Rights Reserved.