01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package org.apache.wicket.util.resource;
18:
19: /**
20: * Thrown if a required resource cannot be found.
21: *
22: * @author Jonathan Locke
23: */
24: public final class ResourceStreamNotFoundException extends Exception {
25: private static final long serialVersionUID = 1L;
26:
27: /**
28: * Constructor
29: */
30: public ResourceStreamNotFoundException() {
31: super ();
32: }
33:
34: /**
35: * Constructor
36: *
37: * @param message
38: * Description of the problem
39: */
40: public ResourceStreamNotFoundException(final String message) {
41: super (message);
42: }
43:
44: /**
45: * Constructor
46: *
47: * @param cause
48: * Nested stack trace
49: */
50: public ResourceStreamNotFoundException(final Throwable cause) {
51: super (cause);
52: }
53:
54: /**
55: * Constructor
56: *
57: * @param message
58: * Description of the problem
59: * @param cause
60: * Nested stack trace
61: */
62: public ResourceStreamNotFoundException(final String message,
63: final Throwable cause) {
64: super(message, cause);
65: }
66: }
|