Enum Class SoLDMDataAccess.ErrorValues

java.lang.Object
java.lang.Enum<SoLDMDataAccess.ErrorValues>
com.openinventor.ldm.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.
  • Enum Constant Details

    • 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 Details

    • values

      public static SoLDMDataAccess.ErrorValues[] 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

      public static SoLDMDataAccess.ErrorValues valueOf(String name)
      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 name
      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 interface IntegerValuedEnum
      Returns:
      the integer value of the enum constant.