Package com.iizix.translate
Class TranslationException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- com.iizix.translate.TranslationException
- All Implemented Interfaces:
java.io.Serializable
public class TranslationException extends java.lang.Exception
Exception thrown by a translator when it cannot complete a translation.- Author:
- Christopher Mindus
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description TranslationException(java.lang.String message)
Creates a translation exception with a message.TranslationException(java.lang.String message, java.lang.Throwable exception)
Creates a translation exception with a message and an exception cause.
Constructor Detail
TranslationException
public TranslationException(java.lang.String message)
Creates a translation exception with a message.- Parameters:
message
- The detail message.
TranslationException
public TranslationException(java.lang.String message, java.lang.Throwable exception)
Creates a translation exception with a message and an exception cause.- Parameters:
message
- The detail message.exception
- The exception, i.e. the real cause.