Package org.apache.pulsar.proxy.stats
Class RestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.ws.rs.WebApplicationException
-
- org.apache.pulsar.proxy.stats.RestException
-
- All Implemented Interfaces:
java.io.Serializable
public class RestException extends javax.ws.rs.WebApplicationExceptionException used to provide better error messages to clients of the REST API.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RestException(int code, java.lang.String message)RestException(java.lang.Throwable t)RestException(javax.ws.rs.core.Response.Status status, java.lang.String message)
-