Skip to content

Package: MethodNotFoundException

MethodNotFoundException

nameinstructionbranchcomplexitylinemethod
MethodNotFoundException()
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%
MethodNotFoundException(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%
MethodNotFoundException(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%
MethodNotFoundException(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 method could not be found while evaluating a {@link MethodExpression}.
23: *
24: * @see MethodExpression
25: * @since Jakarta Server Pages 2.1
26: */
27: public class MethodNotFoundException extends ELException {
28:
29: private static final long serialVersionUID = 7727548537051164640L;
30:
31: /**
32: * Creates a <code>MethodNotFoundException</code> with no detail message.
33: */
34: public MethodNotFoundException() {
35: super();
36: }
37:
38: /**
39: * Creates a <code>MethodNotFoundException</code> with the provided detail message.
40: *
41: * @param message the detail message
42: */
43: public MethodNotFoundException(String message) {
44: super(message);
45: }
46:
47: /**
48: * Creates a <code>MethodNotFoundException</code> with the given root cause.
49: *
50: * @param exception the originating cause of this exception
51: */
52: public MethodNotFoundException(Throwable exception) {
53: super(exception);
54: }
55:
56: /**
57: * Creates a <code>MethodNotFoundException</code> with the given detail message and root cause.
58: *
59: * @param pMessage the detail message
60: * @param pRootCause the originating cause of this exception
61: */
62: public MethodNotFoundException(String pMessage, Throwable pRootCause) {
63: super(pMessage, pRootCause);
64: }
65: }