Package com.iizix.translate
Class TranslationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.iizix.translate.TranslationException
- All Implemented Interfaces:
Serializable
Exception thrown by a translator when it cannot complete a translation.
- Author:
- Christopher Mindus
- See Also:
Constructor Summary
ConstructorDescriptionTranslationException
(String message) Creates a translation exception with a message.TranslationException
(String message, Throwable exception) Creates a translation exception with a message and an exception cause.Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Details
TranslationException
Creates a translation exception with a message.- Parameters:
message
- The detail message.
TranslationException
Creates a translation exception with a message and an exception cause.- Parameters:
message
- The detail message.exception
- The exception, i.e. the real cause.