@Response(code=500, description="Internal Server Error") public class InternalServerError extends HttpException
A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.
| Modifier and Type | Field and Description |
|---|---|
static int |
CODE
HTTP status code
|
static String |
MESSAGE
Default message
|
| Constructor and Description |
|---|
InternalServerError()
Constructor.
|
InternalServerError(String msg)
Constructor.
|
InternalServerError(String msg,
Object... args)
Constructor.
|
InternalServerError(Throwable cause)
Constructor.
|
InternalServerError(Throwable cause,
String msg,
Object... args)
Constructor.
|
getFullStackMessage, getRootCause, getStatus, hashCode, setStatus, toStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic static final int CODE
public static final String MESSAGE
public InternalServerError(Throwable cause, String msg, Object... args)
cause - The cause. Can be msg - The message. Can be args - Optional MessageFormat-style arguments in the message.public InternalServerError(String msg)
msg - The message. Can be public InternalServerError()
public InternalServerError(String msg, Object... args)
msg - The message. Can be args - Optional MessageFormat-style arguments in the message.public InternalServerError(Throwable cause)
cause - The cause. Can be Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.