Package org.tribuo.util.tokens
Class TokenizationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.tribuo.util.tokens.TokenizationException
- All Implemented Interfaces:
Serializable
Wraps exceptions thrown by tokenizers.
- See Also:
-
Constructor Summary
ConstructorDescriptionTokenizationException
(String message) Creates a TokenizationException with the specified message.TokenizationException
(String message, Throwable throwable) Creates a TokenizationException wrapping the supplied throwable with the specified message.TokenizationException
(Throwable throwable) Creates a TokenizationException wrapping the supplied throwable. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TokenizationException
Creates a TokenizationException with the specified message.- Parameters:
message
- The exception message.
-
TokenizationException
Creates a TokenizationException wrapping the supplied throwable with the specified message.- Parameters:
message
- The exception message.throwable
- The throwable to wrap.
-
TokenizationException
Creates a TokenizationException wrapping the supplied throwable.- Parameters:
throwable
- The throwable to wrap.
-