public class RESTException
extends java.lang.RuntimeException
Constructor and Description |
---|
RESTException(java.lang.String message,
java.lang.Object... args)
Constructs a new exception with the specified detail message.
|
RESTException(java.lang.Throwable cause,
java.lang.String message,
java.lang.Object... args)
Constructs a new exception with the specified detail message and cause.
|
@FormatMethod public RESTException(java.lang.String message, java.lang.Object... args)
message
- the detail message.args
- the arguments to the message.@FormatMethod public RESTException(java.lang.Throwable cause, java.lang.String message, java.lang.Object... args)
cause
- the cause.message
- the detail message.args
- the arguments to the message.