de.unihalle.informatik.Alida.exceptions
Enum ALDOperatorException.OperatorExceptionType

java.lang.Object
  extended by java.lang.Enum<ALDOperatorException.OperatorExceptionType>
      extended by de.unihalle.informatik.Alida.exceptions.ALDOperatorException.OperatorExceptionType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ALDOperatorException.OperatorExceptionType>
Enclosing class:
ALDOperatorException

public static enum ALDOperatorException.OperatorExceptionType
extends java.lang.Enum<ALDOperatorException.OperatorExceptionType>

Possible operator exception types.

Author:
moeller

Enum Constant Summary
ALD_DATA_REQUIRED
          Function requires an object of type ALDData.
ILLEGAL_EXTENSION
          File extension does not match expected one.
INSTANTIATION_ERROR
          Operator object cannot be instantiated.
INVALID_CLASS
          Wrong class of object.
OPERATE_FAILED
          Call of runOp() failed somehow.
UNKOWN_NAME
          Class or type name is unknown.
UNSPECIFIED_ERROR
          An unspecified error.
VALIDATION_FAILED
          Operator parameters could not be validated (e.g. wrong type or range).
 
Method Summary
static ALDOperatorException.OperatorExceptionType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ALDOperatorException.OperatorExceptionType[] 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

VALIDATION_FAILED

public static final ALDOperatorException.OperatorExceptionType VALIDATION_FAILED
Operator parameters could not be validated (e.g. wrong type or range).


OPERATE_FAILED

public static final ALDOperatorException.OperatorExceptionType OPERATE_FAILED
Call of runOp() failed somehow.


UNKOWN_NAME

public static final ALDOperatorException.OperatorExceptionType UNKOWN_NAME
Class or type name is unknown.


INVALID_CLASS

public static final ALDOperatorException.OperatorExceptionType INVALID_CLASS
Wrong class of object.


ALD_DATA_REQUIRED

public static final ALDOperatorException.OperatorExceptionType ALD_DATA_REQUIRED
Function requires an object of type ALDData.


ILLEGAL_EXTENSION

public static final ALDOperatorException.OperatorExceptionType ILLEGAL_EXTENSION
File extension does not match expected one.


INSTANTIATION_ERROR

public static final ALDOperatorException.OperatorExceptionType INSTANTIATION_ERROR
Operator object cannot be instantiated.


UNSPECIFIED_ERROR

public static final ALDOperatorException.OperatorExceptionType UNSPECIFIED_ERROR
An unspecified error.

Method Detail

values

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

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

valueOf

public static ALDOperatorException.OperatorExceptionType 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


Copyright © 2010-2014 Martin Luther University Halle-Wittenberg. All Rights Reserved.