@Response(code=500, description="Internal Server Error") @Deprecated public class InternalServerError extends RestException
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
Deprecated.
HTTP status code
|
static String |
MESSAGE
Deprecated.
Default message
|
Constructor and Description |
---|
InternalServerError()
Deprecated.
Constructor.
|
InternalServerError(String msg)
Deprecated.
Constructor.
|
InternalServerError(String msg,
Object... args)
Deprecated.
Constructor.
|
InternalServerError(Throwable cause)
Deprecated.
Constructor.
|
InternalServerError(Throwable cause,
String msg,
Object... args)
Deprecated.
Constructor.
|
getFullStackMessage, getOccurrence, getRootCause, getStatus, hashCode, setOccurrence, setStatus, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public 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.