1 /***
2 * Copyright 2006 Joseph M. Ferner
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package com.fernsroth.easyio.exception;
17
18 /***
19 *
20 * @author Joseph M. Ferner (Near Infinity Corporation)
21 */
22 public class GetterNotFoundException extends EasyIOException {
23
24 /***
25 * serialization.
26 */
27 private static final long serialVersionUID = 5668330439998503046L;
28
29 /***
30 * @param clazz the class that was searched.
31 * @param fieldName the name of the field.
32 * @param cause the cause of the exception.
33 */
34 public GetterNotFoundException(Class<?> clazz, String fieldName,
35 Throwable cause) {
36 super("getter for [" + fieldName + "] in class [" + clazz.getName()
37 + "] not found.", cause);
38 }
39
40 }