Package dev.omnist.codec
Class Encodability.LoneSurrogate
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.omnist.codec.Encodability.LoneSurrogate
- All Implemented Interfaces:
Serializable
- Enclosing class:
Encodability
Thrown by a writer that meets an unencodable string while it is writing, so that it needs no
separate scan first; the writer catches it and turns it into the
Encodability.refusal(dev.omnist.document.Document) of C-9.
Carries no stack trace and no message: it never leaves the writer.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Encodability.LoneSurrogateThe single instance: the exception carries no state. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
INSTANCE
The single instance: the exception carries no state.
-