public class TranslationException
extends java.lang.Exception
Modifier and Type | Class and Description |
---|---|
static class |
TranslationException.ErrorCode
The Enum ErrorCode.
|
Constructor and Description |
---|
TranslationException(java.lang.String message,
java.lang.Throwable throwable,
TranslationException.ErrorCode errorCode)
Instantiates a new translation exception.
|
TranslationException(java.lang.String message,
TranslationException.ErrorCode errorCode)
Instantiates a new translation exception.
|
Modifier and Type | Method and Description |
---|---|
TranslationException.ErrorCode |
getErrorCode()
Gets the error code.
|
java.lang.String |
getMessage() |
java.lang.String |
toString() |
public TranslationException(java.lang.String message, TranslationException.ErrorCode errorCode)
message
- the messageerrorCode
- the error codepublic TranslationException(java.lang.String message, java.lang.Throwable throwable, TranslationException.ErrorCode errorCode)
message
- the messagethrowable
- the throwableerrorCode
- the error codepublic java.lang.String toString()
toString
in class java.lang.Throwable
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public TranslationException.ErrorCode getErrorCode()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"