Class TranslationXLIFFServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.adobe.granite.translation.api.xliff.TranslationXLIFFServiceException
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe Enum ErrorCode. -
Constructor Summary
ConstructorsConstructorDescriptionTranslationXLIFFServiceException(String message, TranslationXLIFFServiceException.ErrorCode errorCode) Instantiates a new translation xliff service exception.TranslationXLIFFServiceException(String message, Throwable throwable, TranslationXLIFFServiceException.ErrorCode errorCode) Instantiates a new translation xliff service exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
TranslationXLIFFServiceException
public TranslationXLIFFServiceException(String message, TranslationXLIFFServiceException.ErrorCode errorCode) Instantiates a new translation xliff service exception.- Parameters:
message- the messageerrorCode- the error code
-
TranslationXLIFFServiceException
public TranslationXLIFFServiceException(String message, Throwable throwable, TranslationXLIFFServiceException.ErrorCode errorCode) Instantiates a new translation xliff service exception.- Parameters:
message- the messagethrowable- the throwableerrorCode- the error code
-
-
Method Details
-
toString
-
getMessage
- Overrides:
getMessagein classThrowable
-
getErrorCode
Gets the error code.- Returns:
- the error code
-