Package io.dropwizard.jersey.optional
Class EmptyOptionalException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.dropwizard.jersey.optional.EmptyOptionalException
-
- All Implemented Interfaces:
Serializable
public class EmptyOptionalException extends RuntimeException
An exception thrown when a resource endpoint attempts to write out an optional that is empty.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static EmptyOptionalException
INSTANCE
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
INSTANCE
public static final EmptyOptionalException INSTANCE
-
-