Skip to content

Package: PropertyNotFoundException

PropertyNotFoundException

nameinstructionbranchcomplexitylinemethod
PropertyNotFoundException()
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%
PropertyNotFoundException(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%
PropertyNotFoundException(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%
PropertyNotFoundException(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: * Thrown when a property could not be found while evaluating a {@link ValueExpression} or {@link MethodExpression}.
23: *
24: * <p>
25: * For example, this could be triggered by an index out of bounds while setting an array value, or by an unreadable
26: * property while getting the value of a JavaBeans property.
27: * </p>
28: *
29: * @since Jakarta Server Pages 2.1
30: */
31: public class PropertyNotFoundException extends ELException {
32:
33: private static final long serialVersionUID = 7876728153282609955L;
34:
35: // -------------------------------------
36: /**
37: * Creates a <code>PropertyNotFoundException</code> with no detail message.
38: */
39: public PropertyNotFoundException() {
40: super();
41: }
42:
43: // -------------------------------------
44: /**
45: * Creates a <code>PropertyNotFoundException</code> with the provided detail message.
46: *
47: * @param message the detail message
48: */
49: public PropertyNotFoundException(String message) {
50: super(message);
51: }
52:
53: /**
54: * Creates a <code>PropertyNotFoundException</code> with the given root cause.
55: *
56: * @param exception the originating cause of this exception
57: */
58: public PropertyNotFoundException(Throwable exception) {
59: super(exception);
60: }
61:
62: /**
63: * Creates a <code>PropertyNotFoundException</code> with the given detail message and root cause.
64: *
65: * @param pMessage the detail message
66: * @param pRootCause the originating cause of this exception
67: */
68: public PropertyNotFoundException(String pMessage, Throwable pRootCause) {
69: super(pMessage, pRootCause);
70: }
71:
72: }