Package com.openinventor.ldm
Enum SoLDMDataAccess.ErrorValues
- java.lang.Object
-
- java.lang.Enum<SoLDMDataAccess.ErrorValues>
-
- com.openinventor.ldm.SoLDMDataAccess.ErrorValues
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoLDMDataAccess.ErrorValues>
- Enclosing class:
- SoLDMDataAccess
public static enum SoLDMDataAccess.ErrorValues extends java.lang.Enum<SoLDMDataAccess.ErrorValues> implements IntegerValuedEnum
Error Code values.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CORRECT
Request was successfully completed.INCORRECT_BUFFER
Application buffer to copy data into is invalid.INCORRECT_COORDINATE
The trace at the specified coordinate does not intersect the specified subvolume.INCORRECT_LINE
The specified line does not intersect the specified subvolume.INCORRECT_PLANE
The specified plane does not intersect the specified subvolume.INCORRECT_POLYLINE
The specified polyline does not intersect the specified subvolume.INCORRECT_POSITION
The specified position is outside the specified subvolume.INCORRECT_RESOLUTION
The specified resolution is lower than the lowest resolution level of the data.INCORRECT_SUBVOLUME
The specified subvolume does not intersect the data volume.MEMORY_FULL
No more memory is available.REQUEST_NOT_COMPLETED
Requesting data from an unfinished asynchronous request.REQUEST_NOT_FOUND
Request is unknown.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the integer value of the enum constant.static SoLDMDataAccess.ErrorValues
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoLDMDataAccess.ErrorValues
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoLDMDataAccess.ErrorValues[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CORRECT
public static final SoLDMDataAccess.ErrorValues CORRECT
Request was successfully completed.
-
INCORRECT_RESOLUTION
public static final SoLDMDataAccess.ErrorValues INCORRECT_RESOLUTION
The specified resolution is lower than the lowest resolution level of the data.
-
INCORRECT_SUBVOLUME
public static final SoLDMDataAccess.ErrorValues INCORRECT_SUBVOLUME
The specified subvolume does not intersect the data volume.
-
INCORRECT_LINE
public static final SoLDMDataAccess.ErrorValues INCORRECT_LINE
The specified line does not intersect the specified subvolume.
-
INCORRECT_POLYLINE
public static final SoLDMDataAccess.ErrorValues INCORRECT_POLYLINE
The specified polyline does not intersect the specified subvolume.
-
INCORRECT_PLANE
public static final SoLDMDataAccess.ErrorValues INCORRECT_PLANE
The specified plane does not intersect the specified subvolume.
-
INCORRECT_POSITION
public static final SoLDMDataAccess.ErrorValues INCORRECT_POSITION
The specified position is outside the specified subvolume.
-
INCORRECT_COORDINATE
public static final SoLDMDataAccess.ErrorValues INCORRECT_COORDINATE
The trace at the specified coordinate does not intersect the specified subvolume.
-
MEMORY_FULL
public static final SoLDMDataAccess.ErrorValues MEMORY_FULL
No more memory is available.
-
REQUEST_NOT_COMPLETED
public static final SoLDMDataAccess.ErrorValues REQUEST_NOT_COMPLETED
Requesting data from an unfinished asynchronous request.
-
REQUEST_NOT_FOUND
public static final SoLDMDataAccess.ErrorValues REQUEST_NOT_FOUND
Request is unknown.
-
INCORRECT_BUFFER
public static final SoLDMDataAccess.ErrorValues INCORRECT_BUFFER
Application buffer to copy data into is invalid. Most common cases are :- buffer size does not take in account the datasize
- request size parameter is inclusive and app forget to remove (1,1,1) to it.
-
-
Method Detail
-
values
public static SoLDMDataAccess.ErrorValues[] 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 (SoLDMDataAccess.ErrorValues c : SoLDMDataAccess.ErrorValues.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoLDMDataAccess.ErrorValues 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 SoLDMDataAccess.ErrorValues 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:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-
-