Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
RequiredValueException |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com | |
3 | * The software in this package is published under the terms of the CPAL v1.0 | |
4 | * license, a copy of which has been included with this distribution in the | |
5 | * LICENSE.txt file. | |
6 | */ | |
7 | package org.mule.api.expression; | |
8 | ||
9 | import org.mule.config.i18n.Message; | |
10 | ||
11 | /** | |
12 | * Is thrown explicitly when an expression is executed that returns a null value when a value is required. Typically, | |
13 | * this exception will only be thrown by Mule-specific evaluators such as Header or Attachment. | |
14 | */ | |
15 | public class RequiredValueException extends ExpressionRuntimeException | |
16 | { | |
17 | public RequiredValueException(Message message) | |
18 | { | |
19 | 0 | super(message); |
20 | 0 | } |
21 | ||
22 | public RequiredValueException(Message message, Throwable cause) | |
23 | { | |
24 | 0 | super(message, cause); |
25 | 0 | } |
26 | } |