Class 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 of TranslationException with the specified detail message.
      TranslationException​(java.lang.String msg, java.lang.Throwable cause)
      Constructs an instance of TranslationException with the specified detail message and cause.
      TranslationException​(java.lang.Throwable cause)
      Constructs an instance of TranslationException with 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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TranslationException

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

        public TranslationException​(java.lang.String msg,
                                    java.lang.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​(java.lang.Throwable cause)
        Constructs an instance of TranslationException with the specified cause.
        Parameters:
        cause - cause the cause