Skip to content

Package: ELException

ELException

nameinstructionbranchcomplexitylinemethod
ELException()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
ELException(String)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
ELException(String, Throwable)
M: 5 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
ELException(Throwable)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*
2: * Copyright (c) 1997, 2019 Oracle and/or its affiliates and others.
3: * All rights reserved.
4: * Copyright 2004 The Apache Software Foundation
5: *
6: * Licensed under the Apache License, Version 2.0 (the "License");
7: * you may not use this file except in compliance with the License.
8: * You may obtain a copy of the License at
9: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS,
14: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15: * See the License for the specific language governing permissions and
16: * limitations under the License.
17: */
18:
19: package jakarta.el;
20:
21: /**
22: * Represents any of the exception conditions that can arise during expression evaluation.
23: *
24: * @since Jakarta Server Pages 2.1
25: */
26: public class ELException extends RuntimeException {
27:
28: private static final long serialVersionUID = -2161386187282690885L;
29:
30: // -------------------------------------
31: /**
32: * Creates an <code>ELException</code> with no detail message.
33: */
34: public ELException() {
35: super();
36: }
37:
38: // -------------------------------------
39: /**
40: * Creates an <code>ELException</code> with the provided detail message.
41: *
42: * @param pMessage the detail message
43: */
44: public ELException(String pMessage) {
45: super(pMessage);
46: }
47:
48: // -------------------------------------
49: /**
50: * Creates an <code>ELException</code> with the given cause.
51: *
52: * @param pRootCause the originating cause of this exception
53: */
54: public ELException(Throwable pRootCause) {
55: super(pRootCause);
56: }
57:
58: // -------------------------------------
59: /**
60: * Creates an ELException with the given detail message and root cause.
61: *
62: * @param pMessage the detail message
63: * @param pRootCause the originating cause of this exception
64: */
65: public ELException(String pMessage, Throwable pRootCause) {
66: super(pMessage, pRootCause);
67: }
68:
69: }