Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ExpressionRuntimeException |
|
| 1.0;1 |
1 | /* | |
2 | * $Id: ExpressionRuntimeException.java 11297 2008-03-09 20:11:02Z rossmason $ | |
3 | * -------------------------------------------------------------------------------------- | |
4 | * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com | |
5 | * | |
6 | * The software in this package is published under the terms of the CPAL v1.0 | |
7 | * license, a copy of which has been included with this distribution in the | |
8 | * LICENSE.txt file. | |
9 | */ | |
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 | /** | |
23 | * @param message the exception message | |
24 | */ | |
25 | public ExpressionRuntimeException(Message message) | |
26 | { | |
27 | 0 | super(message); |
28 | 0 | } |
29 | ||
30 | /** | |
31 | * @param message the exception message | |
32 | * @param cause the exception that triggered this exception | |
33 | */ | |
34 | public ExpressionRuntimeException(Message message, Throwable cause) | |
35 | { | |
36 | 0 | super(message, cause); |
37 | 0 | } |
38 | } |