|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable org.mov.parser.ExpressionException org.mov.parser.EvaluationException
public class EvaluationException
An exception which is thrown when there is a problem executing an expression. Since this exception can be thrown a lot by the GP, and a stack trace is not used, common compile time exceptions have been made static to avoid generating unused stack traces. See Java Performance Tuning for more information.
Field Summary | |
---|---|
static EvaluationException |
AVG_OFFSET_EXCEPTION
An exception which is thrown on an invalid avg() offset. |
static EvaluationException |
AVG_RANGE_EXCEPTION
An exception which is thrown on an invalid avg() range. |
static EvaluationException |
BBL_OFFSET_EXCEPTION
An exception which is thrown on an invalid bol_upper() offset. |
static EvaluationException |
BBL_RANGE_EXCEPTION
An exception which is thrown on an invalid bol_lower() range. |
static EvaluationException |
BBU_OFFSET_EXCEPTION
An exception which is thrown on an invalid bbu() offset. |
static EvaluationException |
BBU_RANGE_EXCEPTION
An exception which is thrown on an invalid bol_upper() range. |
static EvaluationException |
CORR_OFFSET_EXCEPTION
An exception which is thrown on an invalid corr() offset. |
static EvaluationException |
CORR_RANGE_EXCEPTION
An exception which is thrown on an invalid corr() range. |
static EvaluationException |
DIVIDE_BY_ZERO_EXCEPTION
An exception which is thrown when per performa a divide by zero operation. |
static EvaluationException |
EMA_OFFSET_EXCEPTION
An exception which is thrown on an invalid ema() offset. |
static EvaluationException |
EMA_RANGE_EXCEPTION
An exception which is thrown on an invalid ema() range. |
static EvaluationException |
EMA_SMOOTHING_EXCEPTION
An exception which is thrown on an invalid ema() smoothing constant. |
static EvaluationException |
FUTURE_DATE_EXCEPTION
An exception which is thrown when the GP tries to access a date that is too far into the future. |
static EvaluationException |
LAG_OFFSET_EXCEPTION
An exception which is thrown on an invalid lag() offset. |
static EvaluationException |
LOGARITHM_NEGATIVE_EXCEPTION
An exception which is thrown when trying to calculate the logarithm of a negative number. |
static EvaluationException |
MACD_OFFSET_EXCEPTION
An exception which is thrown on an invalid macd() offset. |
static EvaluationException |
MAX_OFFSET_EXCEPTION
An exception which is thrown on an invalid max() offset. |
static EvaluationException |
MAX_RANGE_EXCEPTION
An exception which is thrown on an invalid max() range. |
static EvaluationException |
MIN_OFFSET_EXCEPTION
An exception which is thrown on an invalid min() offset. |
static EvaluationException |
MIN_RANGE_EXCEPTION
An exception which is thrown on an invalid min() range. |
static EvaluationException |
MOMENTUM_OFFSET_EXCEPTION
An exception which is thrown on an invalid momentum() offset. |
static EvaluationException |
MOMENTUM_RANGE_EXCEPTION
An exception which is thrown on an invalid momentum() range. |
static EvaluationException |
OBV_OFFSET_EXCEPTION
An exception which is thrown on an invalid obv() offset. |
static EvaluationException |
OBV_RANGE_EXCEPTION
An exception which is thrown on an invalid obv() range. |
static EvaluationException |
PAST_DATE_EXCEPTION
An exception which is thrown when the GP tries to access a date that is too distant in the past. |
static EvaluationException |
RSI_OFFSET_EXCEPTION
An exception which is thrown on an invalid rsi() offset. |
static EvaluationException |
RSI_RANGE_EXCEPTION
An exception which is thrown on an invalid rsi() range. |
static EvaluationException |
SD_OFFSET_EXCEPTION
An exception which is thrown on an invalid sd() offset. |
static EvaluationException |
SD_RANGE_EXCEPTION
An exception which is thrown on an invalid sd() range. |
static EvaluationException |
SQUARE_ROOT_NEGATIVE_EXCEPTION
An exception which is thrown when trying to calculate the square root of a negative number. |
static EvaluationException |
SUM_OFFSET_EXCEPTION
An exception which is thrown on an invalid sum() offset. |
static EvaluationException |
SUM_RANGE_EXCEPTION
An exception which is thrown on an invalid sum() range. |
Constructor Summary | |
---|---|
EvaluationException(java.lang.String reason)
Create a new evaluation exception with the given error reason. |
Method Summary |
---|
Methods inherited from class org.mov.parser.ExpressionException |
---|
getReason, toString |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static EvaluationException DIVIDE_BY_ZERO_EXCEPTION
public static EvaluationException FUTURE_DATE_EXCEPTION
public static EvaluationException PAST_DATE_EXCEPTION
public static EvaluationException AVG_RANGE_EXCEPTION
public static EvaluationException BBL_RANGE_EXCEPTION
public static EvaluationException BBU_RANGE_EXCEPTION
public static EvaluationException CORR_RANGE_EXCEPTION
public static EvaluationException EMA_RANGE_EXCEPTION
public static EvaluationException MAX_RANGE_EXCEPTION
public static EvaluationException MIN_RANGE_EXCEPTION
public static EvaluationException MOMENTUM_RANGE_EXCEPTION
public static EvaluationException OBV_RANGE_EXCEPTION
public static EvaluationException RSI_RANGE_EXCEPTION
public static EvaluationException SD_RANGE_EXCEPTION
public static EvaluationException SUM_RANGE_EXCEPTION
public static EvaluationException AVG_OFFSET_EXCEPTION
public static EvaluationException BBL_OFFSET_EXCEPTION
public static EvaluationException BBU_OFFSET_EXCEPTION
public static EvaluationException CORR_OFFSET_EXCEPTION
public static EvaluationException EMA_OFFSET_EXCEPTION
public static EvaluationException LAG_OFFSET_EXCEPTION
public static EvaluationException MACD_OFFSET_EXCEPTION
public static EvaluationException MAX_OFFSET_EXCEPTION
public static EvaluationException MIN_OFFSET_EXCEPTION
public static EvaluationException MOMENTUM_OFFSET_EXCEPTION
public static EvaluationException OBV_OFFSET_EXCEPTION
public static EvaluationException RSI_OFFSET_EXCEPTION
public static EvaluationException SD_OFFSET_EXCEPTION
public static EvaluationException SUM_OFFSET_EXCEPTION
public static EvaluationException EMA_SMOOTHING_EXCEPTION
public static EvaluationException SQUARE_ROOT_NEGATIVE_EXCEPTION
public static EvaluationException LOGARITHM_NEGATIVE_EXCEPTION
Constructor Detail |
---|
public EvaluationException(java.lang.String reason)
reason
- the reason the execution failed
|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |