1 /* 2 * Copyright 2012-2013 smartics, Kronseder & Reiner GmbH 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 de.smartics.properties.spi.config.proxy; 17 18 /** 19 * Signals that the interface does not contain the expected property method. 20 */ 21 public class PropertyMethodNotFoundException extends PropertiesException 22 { 23 // ********************************* Fields ********************************* 24 25 // --- constants ------------------------------------------------------------ 26 27 /** 28 * The class version identifier. 29 * <p> 30 * The value of this constant is {@value}. 31 */ 32 private static final long serialVersionUID = 1L; 33 34 // --- members -------------------------------------------------------------- 35 36 // ****************************** Initializer ******************************* 37 38 // ****************************** Constructors ****************************** 39 40 /** 41 * Convenience constructor without a root cause. 42 * 43 * @param message the detail message (which is saved for later retrieval by 44 * the {@link #getMessage()} method). 45 */ 46 public PropertyMethodNotFoundException(final String message) 47 { 48 this(message, null); 49 } 50 51 /** 52 * Convenience constructor without a message. 53 * 54 * @param cause the cause (which is saved for later retrieval by the 55 * {@link #getCause()} method). (A <tt>null</tt> value is permitted, 56 * and indicates that the cause is nonexistent or unknown.) 57 */ 58 public PropertyMethodNotFoundException(final Throwable cause) 59 { 60 this(null, cause); 61 } 62 63 /** 64 * Constructor. 65 * 66 * @param message the detail message (which is saved for later retrieval by 67 * the {@link #getMessage()} method). 68 * @param cause the cause (which is saved for later retrieval by the 69 * {@link #getCause()} method). (A <tt>null</tt> value is permitted, 70 * and indicates that the cause is nonexistent or unknown.) 71 */ 72 public PropertyMethodNotFoundException(final String message, 73 final Throwable cause) 74 { 75 super(message, cause); 76 } 77 78 // ****************************** Inner Classes ***************************** 79 80 // ********************************* Methods ******************************** 81 82 // --- init ----------------------------------------------------------------- 83 84 // --- get&set -------------------------------------------------------------- 85 86 // --- business ------------------------------------------------------------- 87 88 // --- object basics -------------------------------------------------------- 89 90 }