public class TranslatorException extends RuntimeException
| Constructor and Description |
|---|
TranslatorException()
Create a new translator exception.
|
TranslatorException(String message)
Creates a new translator exception with given message.
|
TranslatorException(String message,
Throwable cause)
Creates a new translator exception from given message and cause.
|
TranslatorException(Throwable cause)
Creates a new translator exception from cause.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFileName()
Returns generated file name for the exception.
|
void |
setFileName(String fileName)
Sets file name in translator exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TranslatorException()
public TranslatorException(String message)
message - the detail of exception in stringpublic TranslatorException(String message, Throwable cause)
message - the detail of exception in stringcause - underlying cause of the errorpublic TranslatorException(Throwable cause)
cause - underlying cause of the errorCopyright © 2016. All rights reserved.