public class RestServletException extends ServletException
RestServlet
during construction or initialization.Constructor and Description |
---|
RestServletException(String message,
Object... args)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
RestServletException |
initCause(Throwable cause)
Sets the inner cause for this exception.
|
getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RestServletException(String message, Object... args)
message
- The detailed message.args
- Optional MessageFormat
-style arguments.public RestServletException initCause(Throwable cause)
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.