- All Implemented Interfaces:
Serializable,Comparable<PxErrorCodeEnum>,Constable
Error codes
These error codes are passed to #PxErrorCallback
See also: PxErrorCallback
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn unrecoverable error, execution should be halted and log output flushedAn informational message.a warning message for the user to help with debuggingThe library failed for some reason.method was called at a time when an operation is not possiblemethod called with invalid parameter(s)A bit mask for including all errorsmethod failed to allocate some memoryThe SDK has determined that an operation may result in poor performance. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic PxErrorCodeEnumforValue(int value) static PxErrorCodeEnumReturns the enum constant of this class with the specified name.static PxErrorCodeEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
eNO_ERROR
-
eDEBUG_INFO
An informational message. -
eDEBUG_WARNING
a warning message for the user to help with debugging -
eINVALID_PARAMETER
method called with invalid parameter(s) -
eINVALID_OPERATION
method was called at a time when an operation is not possible -
eOUT_OF_MEMORY
method failed to allocate some memory -
eINTERNAL_ERROR
The library failed for some reason. Possibly you have passed invalid values like NaNs, which are not checked for. -
eABORT
An unrecoverable error, execution should be halted and log output flushed -
ePERF_WARNING
The SDK has determined that an operation may result in poor performance. -
eMASK_ALL
A bit mask for including all errors
-
-
Field Details
-
value
public final int value
-
-
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
-
forValue
-