Package com.openinventor.ldm.readers
Enum SoLDMReader.SoLDMErrors
- java.lang.Object
-
- java.lang.Enum<SoLDMReader.SoLDMErrors>
-
- com.openinventor.ldm.readers.SoLDMReader.SoLDMErrors
-
- All Implemented Interfaces:
IntegerValuedEnum,java.io.Serializable,java.lang.Comparable<SoLDMReader.SoLDMErrors>
- Enclosing class:
- SoLDMReader
public static enum SoLDMReader.SoLDMErrors extends java.lang.Enum<SoLDMReader.SoLDMErrors> implements IntegerValuedEnum
LDM Reader error code.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LDM_ALTERNATE_FILE_NOT_FOUNDAlternate file not found.LDM_COMPLETION_FILE_NOT_FOUNDCompletion file not found.LDM_FILE_NOT_FOUNDfile not foundLDM_NO_ERRORno errorLDM_RD_FILE_NOT_FOUND_ERRORfile not foundLDM_RD_NO_ERRORNo error.LDM_RD_UNKNOWN_ERRORUnknown error.LDM_RD_UNSUPPORTED_DATA_TYPE_ERRORUnsupported data file type.LDM_SIZE_TAG_MISSINGSize tag missing.LDM_XML_PARSING_ERRORXML parsing error.LDM_XML_ROOT_END_TAG_NOT_FOUNDXML END Tag not found.LDM_XML_ROOT_START_TAG_NOT_FOUNDXML START Tag not found.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValue()Returns the integer value of the enum constant.static SoLDMReader.SoLDMErrorsvalueOf(int val)Returns the enum constant of this type with the specified integer valuestatic SoLDMReader.SoLDMErrorsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SoLDMReader.SoLDMErrors[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LDM_NO_ERROR
public static final SoLDMReader.SoLDMErrors LDM_NO_ERROR
no error
-
LDM_FILE_NOT_FOUND
public static final SoLDMReader.SoLDMErrors LDM_FILE_NOT_FOUND
file not found
-
LDM_XML_ROOT_START_TAG_NOT_FOUND
public static final SoLDMReader.SoLDMErrors LDM_XML_ROOT_START_TAG_NOT_FOUND
XML START Tag not found.
-
LDM_XML_ROOT_END_TAG_NOT_FOUND
public static final SoLDMReader.SoLDMErrors LDM_XML_ROOT_END_TAG_NOT_FOUND
XML END Tag not found.
-
LDM_ALTERNATE_FILE_NOT_FOUND
public static final SoLDMReader.SoLDMErrors LDM_ALTERNATE_FILE_NOT_FOUND
Alternate file not found.
-
LDM_XML_PARSING_ERROR
public static final SoLDMReader.SoLDMErrors LDM_XML_PARSING_ERROR
XML parsing error.
-
LDM_SIZE_TAG_MISSING
public static final SoLDMReader.SoLDMErrors LDM_SIZE_TAG_MISSING
Size tag missing.
-
LDM_COMPLETION_FILE_NOT_FOUND
public static final SoLDMReader.SoLDMErrors LDM_COMPLETION_FILE_NOT_FOUND
Completion file not found.
-
LDM_RD_NO_ERROR
public static final SoLDMReader.SoLDMErrors LDM_RD_NO_ERROR
No error.
-
LDM_RD_FILE_NOT_FOUND_ERROR
public static final SoLDMReader.SoLDMErrors LDM_RD_FILE_NOT_FOUND_ERROR
file not found
-
LDM_RD_UNSUPPORTED_DATA_TYPE_ERROR
public static final SoLDMReader.SoLDMErrors LDM_RD_UNSUPPORTED_DATA_TYPE_ERROR
Unsupported data file type.
-
LDM_RD_UNKNOWN_ERROR
public static final SoLDMReader.SoLDMErrors LDM_RD_UNKNOWN_ERROR
Unknown error.
-
-
Method Detail
-
values
public static SoLDMReader.SoLDMErrors[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SoLDMReader.SoLDMErrors c : SoLDMReader.SoLDMErrors.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoLDMReader.SoLDMErrors valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
valueOf
public static SoLDMReader.SoLDMErrors valueOf(int val)
Returns the enum constant of this type with the specified integer value- Returns:
- the enum constant of this type with the specified integer value.
-
getValue
public int getValue()
Description copied from interface:IntegerValuedEnumReturns the integer value of the enum constant.- Specified by:
getValuein interfaceIntegerValuedEnum- Returns:
- the integer value of the enum constant.
-
-