Class TranslationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.omegat.filters2.TranslationException
All Implemented Interfaces:
Serializable

public class TranslationException extends 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:
  • Constructor Details

    • TranslationException

      public TranslationException(String msg)
      Constructs an instance of TranslationException with the specified detail message.
      Parameters:
      msg - the detail message.
    • TranslationException

      public TranslationException(String msg, Throwable cause)
      Constructs an instance of TranslationException with the specified detail message and cause.
      Parameters:
      msg - the detail message.
      cause - cause the cause
    • TranslationException

      public TranslationException(Throwable cause)
      Constructs an instance of TranslationException with the specified cause.
      Parameters:
      cause - cause the cause