Class TranslationXLIFFServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.adobe.granite.translation.api.xliff.TranslationXLIFFServiceException
-
- All Implemented Interfaces:
java.io.Serializable
public class TranslationXLIFFServiceException extends java.lang.Exception
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TranslationXLIFFServiceException.ErrorCode
The Enum ErrorCode.
-
Constructor Summary
Constructors Constructor Description TranslationXLIFFServiceException(java.lang.String message, TranslationXLIFFServiceException.ErrorCode errorCode)
Instantiates a new translation xliff service exception.TranslationXLIFFServiceException(java.lang.String message, java.lang.Throwable throwable, TranslationXLIFFServiceException.ErrorCode errorCode)
Instantiates a new translation xliff service exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TranslationXLIFFServiceException.ErrorCode
getErrorCode()
Gets the error code.java.lang.String
getMessage()
java.lang.String
toString()
-
-
-
Constructor Detail
-
TranslationXLIFFServiceException
public TranslationXLIFFServiceException(java.lang.String message, TranslationXLIFFServiceException.ErrorCode errorCode)
Instantiates a new translation xliff service exception.- Parameters:
message
- the messageerrorCode
- the error code
-
TranslationXLIFFServiceException
public TranslationXLIFFServiceException(java.lang.String message, java.lang.Throwable throwable, TranslationXLIFFServiceException.ErrorCode errorCode)
Instantiates a new translation xliff service exception.- Parameters:
message
- the messagethrowable
- the throwableerrorCode
- the error code
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Throwable
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
getErrorCode
public TranslationXLIFFServiceException.ErrorCode getErrorCode()
Gets the error code.- Returns:
- the error code
-
-