Class TranslationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.iizix.translate.TranslationException
All Implemented Interfaces:
Serializable

public class TranslationException extends Exception
Exception thrown by a translator when it cannot complete a translation.
Author:
Christopher Mindus
See Also:
  • Constructor Details

    • TranslationException

      public TranslationException(String message)
      Creates a translation exception with a message.
      Parameters:
      message - The detail message.
    • TranslationException

      public TranslationException(String message, Throwable exception)
      Creates a translation exception with a message and an exception cause.
      Parameters:
      message - The detail message.
      exception - The exception, i.e. the real cause.