public class InternalServerErrorException extends ServerErrorException
internal server error
.Constructor and Description |
---|
InternalServerErrorException()
Construct a new internal server error exception.
|
InternalServerErrorException(Response response)
Construct a new internal server error exception.
|
InternalServerErrorException(Response response,
Throwable cause)
Construct a new internal server error exception.
|
InternalServerErrorException(String message)
Construct a new internal server error exception.
|
InternalServerErrorException(String message,
Response response)
Construct a new internal server error exception.
|
InternalServerErrorException(String message,
Response response,
Throwable cause)
Construct a new internal server error exception.
|
InternalServerErrorException(String message,
Throwable cause)
Construct a new internal server error exception.
|
InternalServerErrorException(Throwable cause)
Construct a new internal server error exception.
|
getResponse
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InternalServerErrorException()
public InternalServerErrorException(String message)
message
- the detail message (which is saved for later retrieval
by the Throwable.getMessage()
method).public InternalServerErrorException(Response response)
response
- internal server error response.IllegalArgumentException
- in case the status code set in the response
is not HTTP 500
.public InternalServerErrorException(String message, Response response)
message
- the detail message (which is saved for later retrieval
by the Throwable.getMessage()
method).response
- internal server error response.IllegalArgumentException
- in case the status code set in the response
is not HTTP 500
.public InternalServerErrorException(Throwable cause)
cause
- the underlying cause of the exception.public InternalServerErrorException(String message, Throwable cause)
message
- the detail message (which is saved for later retrieval
by the Throwable.getMessage()
method).cause
- the underlying cause of the exception.public InternalServerErrorException(Response response, Throwable cause)
response
- internal server error response.cause
- the underlying cause of the exception.IllegalArgumentException
- in case the status code set in the response
is not HTTP 500
.public InternalServerErrorException(String message, Response response, Throwable cause)
message
- the detail message (which is saved for later retrieval
by the Throwable.getMessage()
method).response
- internal server error response.cause
- the underlying cause of the exception.IllegalArgumentException
- in case the status code set in the response
is not HTTP 500
.Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.