org.jboss.solder.exception.control
Enum CaughtException.ExceptionHandlingFlow

java.lang.Object
  extended by java.lang.Enum<CaughtException.ExceptionHandlingFlow>
      extended by org.jboss.solder.exception.control.CaughtException.ExceptionHandlingFlow
All Implemented Interfaces:
Serializable, Comparable<CaughtException.ExceptionHandlingFlow>
Enclosing class:
CaughtException<T extends Throwable>

protected static enum CaughtException.ExceptionHandlingFlow
extends Enum<CaughtException.ExceptionHandlingFlow>

Flow control enum. Used in the dispatcher to determine how to markHandled.


Enum Constant Summary
ABORT
           
DROP_CAUSE
           
HANDLED
           
MARK_HANDLED
           
RETHROW
           
THROW
           
 
Method Summary
static CaughtException.ExceptionHandlingFlow valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CaughtException.ExceptionHandlingFlow[] 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

HANDLED

public static final CaughtException.ExceptionHandlingFlow HANDLED

MARK_HANDLED

public static final CaughtException.ExceptionHandlingFlow MARK_HANDLED

DROP_CAUSE

public static final CaughtException.ExceptionHandlingFlow DROP_CAUSE

ABORT

public static final CaughtException.ExceptionHandlingFlow ABORT

RETHROW

public static final CaughtException.ExceptionHandlingFlow RETHROW

THROW

public static final CaughtException.ExceptionHandlingFlow THROW
Method Detail

values

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

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

valueOf

public static CaughtException.ExceptionHandlingFlow valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2008-2011 Seam Framework. All Rights Reserved.