Package ratpack.http
Class ClientErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ratpack.http.ClientErrorException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
RequestBodyTooLargeException
public abstract class ClientErrorException extends java.lang.RuntimeException
Indicates that this exception represents a client error. If thrown within a handler, will result inContext.clientError(int)
being called, instead of the exception propagating.- Since:
- 1.5
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientErrorException(java.lang.String message)
ClientErrorException(java.lang.String message, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract int
getClientErrorCode()
-