Class TranslationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TranslationException
    extends java.lang.Exception
    The Class TranslationException.
    See Also:
    Serialized Form
    • Constructor Detail

      • TranslationException

        public TranslationException​(java.lang.String message,
                                    TranslationException.ErrorCode errorCode)
        Instantiates a new translation exception.
        Parameters:
        message - the message
        errorCode - the error code
      • TranslationException

        public TranslationException​(java.lang.String message,
                                    java.lang.Throwable throwable,
                                    TranslationException.ErrorCode errorCode)
        Instantiates a new translation exception.
        Parameters:
        message - the message
        throwable - the throwable
        errorCode - the error code
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable
      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable