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 classTranslationXLIFFServiceException.ErrorCodeThe 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.ErrorCodegetErrorCode()Gets the error code.java.lang.StringgetMessage()java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Throwable
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessagein classjava.lang.Throwable
-
getErrorCode
public TranslationXLIFFServiceException.ErrorCode getErrorCode()
Gets the error code.- Returns:
- the error code
-
-