Package com.openinventor.ldm
Enum Class SoLDMDataAccess.ErrorValues
- All Implemented Interfaces:
IntegerValuedEnum
,Serializable
,Comparable<SoLDMDataAccess.ErrorValues>
,Constable
- Enclosing class:
SoLDMDataAccess
public static enum SoLDMDataAccess.ErrorValues
extends Enum<SoLDMDataAccess.ErrorValues>
implements IntegerValuedEnum
Error Code values.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRequest was successfully completed.Application buffer to copy data into is invalid.The trace at the specified coordinate does not intersect the specified subvolume.The specified line does not intersect the specified subvolume.The specified plane does not intersect the specified subvolume.The specified polyline does not intersect the specified subvolume.The specified position is outside the specified subvolume.The specified resolution is lower than the lowest resolution level of the data.The specified subvolume does not intersect the data volume.No more memory is available.Requesting data from an unfinished asynchronous request.Request is unknown. -
Method Summary
Modifier and TypeMethodDescriptionint
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
Returns the enum constant of this class with the specified name.static SoLDMDataAccess.ErrorValues[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
CORRECT
Request was successfully completed. -
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. -
INCORRECT_LINE
The specified line does not intersect the specified subvolume. -
INCORRECT_POLYLINE
The specified polyline does not intersect the specified subvolume. -
INCORRECT_PLANE
The specified plane does not intersect the specified subvolume. -
INCORRECT_POSITION
The specified position is outside the specified subvolume. -
INCORRECT_COORDINATE
The trace at the specified coordinate does not intersect the specified subvolume. -
MEMORY_FULL
No more memory is available. -
REQUEST_NOT_COMPLETED
Requesting data from an unfinished asynchronous request. -
REQUEST_NOT_FOUND
Request is unknown. -
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 Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
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.
-