public static enum TranslationXLIFFServiceException.ErrorCode extends java.lang.Enum<TranslationXLIFFServiceException.ErrorCode>
Enum Constant and Description |
---|
ENCODING_NOT_SUPPORTED
Unsupported content encoding.
|
GENERAL_EXCEPTION
General exception.
|
INVALID_XLIFF
Not a valid XLIFF.
|
INVALID_XML
Not a valid XML.
|
IO_EXCEPTION
IO failure.
|
SERVICE_NOT_AVAILABLE
The translation xliff service is not available.
|
VERSION_NOT_SUPPORTED
XLIFF version is not supported.
|
Modifier and Type | Method and Description |
---|---|
static TranslationXLIFFServiceException.ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TranslationXLIFFServiceException.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TranslationXLIFFServiceException.ErrorCode GENERAL_EXCEPTION
public static final TranslationXLIFFServiceException.ErrorCode SERVICE_NOT_AVAILABLE
public static final TranslationXLIFFServiceException.ErrorCode INVALID_XML
public static final TranslationXLIFFServiceException.ErrorCode INVALID_XLIFF
public static final TranslationXLIFFServiceException.ErrorCode VERSION_NOT_SUPPORTED
public static final TranslationXLIFFServiceException.ErrorCode ENCODING_NOT_SUPPORTED
public static final TranslationXLIFFServiceException.ErrorCode IO_EXCEPTION
public static TranslationXLIFFServiceException.ErrorCode[] values()
for (TranslationXLIFFServiceException.ErrorCode c : TranslationXLIFFServiceException.ErrorCode.values()) System.out.println(c);
public static TranslationXLIFFServiceException.ErrorCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"