Package org.omegat.filters2
Class TranslationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.omegat.filters2.TranslationException
-
- All Implemented Interfaces:
java.io.Serializable
public class TranslationException extends java.lang.Exception
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TranslationException(java.lang.String msg)
Constructs an instance ofTranslationException
with the specified detail message.TranslationException(java.lang.String msg, java.lang.Throwable cause)
Constructs an instance ofTranslationException
with the specified detail message and cause.TranslationException(java.lang.Throwable cause)
Constructs an instance ofTranslationException
with the specified cause.
-
-
-
Constructor Detail
-
TranslationException
public TranslationException(java.lang.String msg)
Constructs an instance ofTranslationException
with the specified detail message.- Parameters:
msg
- the detail message.
-
TranslationException
public TranslationException(java.lang.String msg, java.lang.Throwable cause)
Constructs an instance ofTranslationException
with the specified detail message and cause.- Parameters:
msg
- the detail message.cause
- cause the cause
-
TranslationException
public TranslationException(java.lang.Throwable cause)
Constructs an instance ofTranslationException
with the specified cause.- Parameters:
cause
- cause the cause
-
-