public class InternalServerException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
InternalServerException(java.lang.String message)
Constructs an
InternalServerException with the specified detail message. |
InternalServerException(java.lang.String message,
java.lang.Throwable cause)
Constructs an
BadRequestException with the specified detail message and cause. |
public InternalServerException(java.lang.String message)
InternalServerException with the specified detail message.message - The detail message (which is saved for later retrieval by the Throwable.getMessage() method)public InternalServerException(java.lang.String message,
java.lang.Throwable cause)
BadRequestException with the specified detail message and cause.
Note that the detail message associated with cause is not automatically
incorporated into this exception's detail message.
message - The detail message (which is saved for later retrieval by the Throwable.getMessage() method)cause - The cause (which is saved for later retrieval by the Throwable.getCause()
method). (A null value is permitted, and indicates that the cause is nonexistent or
unknown.)