Package org.omegat.filters2
Class TranslationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.omegat.filters2.TranslationException
- All Implemented Interfaces:
Serializable
TranslationException is a checked exception that may be thrown by filter
while parsing/writing out the file.
Note that a filter may also throw IOException in case of any I/O errors.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an instance ofTranslationExceptionwith the specified detail message.TranslationException(String msg, Throwable cause) Constructs an instance ofTranslationExceptionwith the specified detail message and cause.TranslationException(Throwable cause) Constructs an instance ofTranslationExceptionwith the specified 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
Constructs an instance ofTranslationExceptionwith the specified detail message.- Parameters:
msg- the detail message.
-
TranslationException
Constructs an instance ofTranslationExceptionwith the specified detail message and cause.- Parameters:
msg- the detail message.cause- cause the cause
-
TranslationException
Constructs an instance ofTranslationExceptionwith the specified cause.- Parameters:
cause- cause the cause
-