Package physx.common

Enum Class PxErrorCodeEnum

java.lang.Object
java.lang.Enum<PxErrorCodeEnum>
physx.common.PxErrorCodeEnum
All Implemented Interfaces:
Serializable, Comparable<PxErrorCodeEnum>, Constable

public enum PxErrorCodeEnum extends Enum<PxErrorCodeEnum>
Error codes

These error codes are passed to #PxErrorCallback

See also: PxErrorCallback

  • Enum Constant Details

    • eNO_ERROR

      public static final PxErrorCodeEnum eNO_ERROR
    • eDEBUG_INFO

      public static final PxErrorCodeEnum eDEBUG_INFO
      An informational message.
    • eDEBUG_WARNING

      public static final PxErrorCodeEnum eDEBUG_WARNING
      a warning message for the user to help with debugging
    • eINVALID_PARAMETER

      public static final PxErrorCodeEnum eINVALID_PARAMETER
      method called with invalid parameter(s)
    • eINVALID_OPERATION

      public static final PxErrorCodeEnum eINVALID_OPERATION
      method was called at a time when an operation is not possible
    • eOUT_OF_MEMORY

      public static final PxErrorCodeEnum eOUT_OF_MEMORY
      method failed to allocate some memory
    • eINTERNAL_ERROR

      public static final PxErrorCodeEnum eINTERNAL_ERROR
      The library failed for some reason. Possibly you have passed invalid values like NaNs, which are not checked for.
    • eABORT

      public static final PxErrorCodeEnum eABORT
      An unrecoverable error, execution should be halted and log output flushed
    • ePERF_WARNING

      public static final PxErrorCodeEnum ePERF_WARNING
      The SDK has determined that an operation may result in poor performance.
    • eMASK_ALL

      public static final PxErrorCodeEnum eMASK_ALL
      A bit mask for including all errors
  • Field Details

    • value

      public final int value
  • Method Details

    • values

      public static PxErrorCodeEnum[] 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 PxErrorCodeEnum 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
    • forValue

      public static PxErrorCodeEnum forValue(int value)