01: /*
02: * $Id: ExpressionRuntimeException.java 11297 2008-03-09 20:11:02Z rossmason $
03: * --------------------------------------------------------------------------------------
04: * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
05: *
06: * The software in this package is published under the terms of the CPAL v1.0
07: * license, a copy of which has been included with this distribution in the
08: * LICENSE.txt file.
09: */
10: package org.mule.util.expression;
11:
12: import org.mule.api.MuleRuntimeException;
13: import org.mule.config.i18n.Message;
14:
15: /**
16: * If thrown by the {@link org.mule.util.expression.ExpressionEvaluatorManager} if an expression returns null
17: * and failIfNull was set when {@link org.mule.util.expression.ExpressionEvaluatorManager#evaluate(String, Object, boolean)}
18: * was called.
19: */
20: public class ExpressionRuntimeException extends MuleRuntimeException {
21: /**
22: * @param message the exception message
23: */
24: public ExpressionRuntimeException(Message message) {
25: super (message);
26: }
27:
28: /**
29: * @param message the exception message
30: * @param cause the exception that triggered this exception
31: */
32: public ExpressionRuntimeException(Message message, Throwable cause) {
33: super(message, cause);
34: }
35: }
|