org.ogre4j
Enum Exception.ExceptionCodes

java.lang.Object
  extended by java.lang.Enum<Exception.ExceptionCodes>
      extended by org.ogre4j.Exception.ExceptionCodes
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Exception.ExceptionCodes>, INativeEnum<Exception.ExceptionCodes>
Enclosing class:
Exception

public static enum Exception.ExceptionCodes
extends java.lang.Enum<Exception.ExceptionCodes>
implements INativeEnum<Exception.ExceptionCodes>


Enum Constant Summary
ERR_CANNOT_WRITE_TO_FILE
           
ERR_DUPLICATE_ITEM
           
ERR_FILE_NOT_FOUND
           
ERR_INTERNAL_ERROR
           
ERR_INVALID_STATE
           
ERR_INVALIDPARAMS
           
ERR_ITEM_NOT_FOUND
           
ERR_NOT_IMPLEMENTED
           
ERR_RENDERINGAPI_ERROR
           
ERR_RT_ASSERTION_FAILED
           
 
Method Summary
 Exception.ExceptionCodes getEnum(int val)
          Returns the enumeration value for the passed integer.
 int getValue()
          Returns the integer value of this enumeration value.
static Exception.ExceptionCodes toEnum(int retval)
           
static Exception.ExceptionCodes valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Exception.ExceptionCodes[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ERR_CANNOT_WRITE_TO_FILE

public static final Exception.ExceptionCodes ERR_CANNOT_WRITE_TO_FILE

ERR_INVALID_STATE

public static final Exception.ExceptionCodes ERR_INVALID_STATE

ERR_INVALIDPARAMS

public static final Exception.ExceptionCodes ERR_INVALIDPARAMS

ERR_RENDERINGAPI_ERROR

public static final Exception.ExceptionCodes ERR_RENDERINGAPI_ERROR

ERR_DUPLICATE_ITEM

public static final Exception.ExceptionCodes ERR_DUPLICATE_ITEM

ERR_ITEM_NOT_FOUND

public static final Exception.ExceptionCodes ERR_ITEM_NOT_FOUND

ERR_FILE_NOT_FOUND

public static final Exception.ExceptionCodes ERR_FILE_NOT_FOUND

ERR_INTERNAL_ERROR

public static final Exception.ExceptionCodes ERR_INTERNAL_ERROR

ERR_RT_ASSERTION_FAILED

public static final Exception.ExceptionCodes ERR_RT_ASSERTION_FAILED

ERR_NOT_IMPLEMENTED

public static final Exception.ExceptionCodes ERR_NOT_IMPLEMENTED
Method Detail

values

public static Exception.ExceptionCodes[] 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 (Exception.ExceptionCodes c : Exception.ExceptionCodes.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Exception.ExceptionCodes 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 name
java.lang.NullPointerException - if the argument is null

getValue

public int getValue()
Description copied from interface: INativeEnum
Returns the integer value of this enumeration value.

Specified by:
getValue in interface INativeEnum<Exception.ExceptionCodes>

getEnum

public Exception.ExceptionCodes getEnum(int val)
Description copied from interface: INativeEnum
Returns the enumeration value for the passed integer.

Specified by:
getEnum in interface INativeEnum<Exception.ExceptionCodes>

toEnum

public static final Exception.ExceptionCodes toEnum(int retval)


Copyright © 2007 netAllied GmbH. All Rights Reserved.