public class StopCodeException extends Exception
| Constructor and Description |
|---|
StopCodeException(int statusCode,
String message)
Constructs a stop code exception with a message.
|
StopCodeException(int statusCode,
String message,
Throwable cause)
Constructs a stop code exception with a message and a cause.
|
StopCodeException(int statusCode,
String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Constructs a stop code exception with a message and a cause.
|
StopCodeException(int statusCode,
Throwable cause)
Constructs a stop code exception with a cause.
|
| Modifier and Type | Method and Description |
|---|---|
Throwable |
fillInStackTrace() |
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic StopCodeException(int statusCode,
String message)
statusCode - The status code received from the responsemessage - A message about the exceptionpublic StopCodeException(int statusCode,
String message,
Throwable cause)
statusCode - The status code received from the responsemessage - A message about the exceptioncause - The cause of the exceptionpublic StopCodeException(int statusCode,
Throwable cause)
statusCode - The status code received from the responsecause - The cause of the exceptionpublic StopCodeException(int statusCode,
String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
statusCode - The status code received from the responsemessage - A message about the exceptioncause - The cause of the exceptionenableSuppression - Enable suppression.writableStackTrace - Enable writable stack trace.public final Throwable fillInStackTrace()
fillInStackTrace in class ThrowableCopyright © 2019. All rights reserved.