Top Description Fields Constructors
javax.ws.rs

public Class InternalServerErrorException

extends ServerErrorException
Class Inheritance
Imports
javax.ws.rs.core.Response

A runtime exception indicating an internal server error.
Authors
Sergey Beryozkin, Marek Potociar
Since
2.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
InternalServerErrorException()

Construct a new internal server error exception.

public
InternalServerErrorException(String
the detail message (which is saved for later retrieval by the getMessage() method).
message
)

Construct a new internal server error exception.

public
InternalServerErrorException(Response
internal server error response.
response
)

Construct a new internal server error exception.

public
InternalServerErrorException(String
the detail message (which is saved for later retrieval by the getMessage() method).
message
,
Response
internal server error response.
response
)

Construct a new internal server error exception.

public
InternalServerErrorException(Throwable
the underlying cause of the exception.
cause
)

Construct a new internal server error exception.

public
InternalServerErrorException(String
the detail message (which is saved for later retrieval by the getMessage() method).
message
,
Throwable
the underlying cause of the exception.
cause
)

Construct a new internal server error exception.

public
InternalServerErrorException(Response
internal server error response.
response
,
Throwable
the underlying cause of the exception.
cause
)

Construct a new internal server error exception.

public
InternalServerErrorException(String
the detail message (which is saved for later retrieval by the getMessage() method).
message
,
Response
internal server error response.
response
,
Throwable
the underlying cause of the exception.
cause
)

Construct a new internal server error exception.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.ws.rs.ServerErrorException.serialVersionUID.

Constructor Detail

InternalServerErrorExceptionback to summary
public InternalServerErrorException()

Construct a new internal server error exception.

InternalServerErrorExceptionback to summary
public InternalServerErrorException(String message)

Construct a new internal server error exception.

Parameters
message:String

the detail message (which is saved for later retrieval by the getMessage() method).

InternalServerErrorExceptionback to summary
public InternalServerErrorException(Response response)

Construct a new internal server error exception.

Parameters
response:Response

internal server error response.

Exceptions
IllegalArgumentException:
in case the status code set in the response is not HTTP 500.
InternalServerErrorExceptionback to summary
public InternalServerErrorException(String message, Response response)

Construct a new internal server error exception.

Parameters
message:String

the detail message (which is saved for later retrieval by the getMessage() method).

response:Response

internal server error response.

Exceptions
IllegalArgumentException:
in case the status code set in the response is not HTTP 500.
InternalServerErrorExceptionback to summary
public InternalServerErrorException(Throwable cause)

Construct a new internal server error exception.

Parameters
cause:Throwable

the underlying cause of the exception.

InternalServerErrorExceptionback to summary
public InternalServerErrorException(String message, Throwable cause)

Construct a new internal server error exception.

Parameters
message:String

the detail message (which is saved for later retrieval by the getMessage() method).

cause:Throwable

the underlying cause of the exception.

InternalServerErrorExceptionback to summary
public InternalServerErrorException(Response response, Throwable cause)

Construct a new internal server error exception.

Parameters
response:Response

internal server error response.

cause:Throwable

the underlying cause of the exception.

Exceptions
IllegalArgumentException:
in case the status code set in the response is not HTTP 500.
InternalServerErrorExceptionback to summary
public InternalServerErrorException(String message, Response response, Throwable cause)

Construct a new internal server error exception.

Parameters
message:String

the detail message (which is saved for later retrieval by the getMessage() method).

response:Response

internal server error response.

cause:Throwable

the underlying cause of the exception.

Exceptions
IllegalArgumentException:
in case the status code set in the response is not HTTP 500.