Class MachineTranslateError
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.omegat.core.machinetranslators.MachineTranslateError
- All Implemented Interfaces:
Serializable
An exception class for machine translation errors.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMachineTranslateError(String message) Constructor an instance ofMachineTranslateErrorwith the specified message.MachineTranslateError(String message, Throwable cause) Constructor an instance ofMachineTranslateErrorwith the specified message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MachineTranslateError
Constructor an instance ofMachineTranslateErrorwith the specified message.- Parameters:
message- the detail message.
-
MachineTranslateError
Constructor an instance ofMachineTranslateErrorwith the specified message and cause.- Parameters:
message- the detail message.cause- the cause.
-