Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions
11g Release 1 (11.1.1)

E17787-01


com.sigmadynamics.sdo.rules
Enum EvaluationOptions.RuntimeExceptionPolicy

java.lang.Object
  extended by java.lang.Enum<EvaluationOptions.RuntimeExceptionPolicy>
      extended by com.sigmadynamics.sdo.rules.EvaluationOptions.RuntimeExceptionPolicy

All Implemented Interfaces:
java.lang.Comparable<EvaluationOptions.RuntimeExceptionPolicy>
Enclosing class:
EvaluationOptions

public static enum EvaluationOptions.RuntimeExceptionPolicy
extends java.lang.Enum<EvaluationOptions.RuntimeExceptionPolicy>

Whether to throw exceptions or hide them during rule evaluation


Enum Constant Summary
DEFAULT_DOUBLE_VALUE
          return the default value for a scoring rule
FALSE
          return false in case of a runtime error
THROW
          propagate the underlying exception
TRUE
          return true in case of a runtime error

 

Method Summary
static EvaluationOptions.RuntimeExceptionPolicy valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EvaluationOptions.RuntimeExceptionPolicy[] 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

TRUE

public static final EvaluationOptions.RuntimeExceptionPolicy TRUE
return true in case of a runtime error

FALSE

public static final EvaluationOptions.RuntimeExceptionPolicy FALSE
return false in case of a runtime error

DEFAULT_DOUBLE_VALUE

public static final EvaluationOptions.RuntimeExceptionPolicy DEFAULT_DOUBLE_VALUE
return the default value for a scoring rule

THROW

public static final EvaluationOptions.RuntimeExceptionPolicy THROW
propagate the underlying exception

Method Detail

values

public static EvaluationOptions.RuntimeExceptionPolicy[] 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 (EvaluationOptions.RuntimeExceptionPolicy c : EvaluationOptions.RuntimeExceptionPolicy.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EvaluationOptions.RuntimeExceptionPolicy 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

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions
11g Release 1 (11.1.1)

E17787-01


Copyright © 2010, Oracle. All rights reserved.