1 package org.jscsi.target.settings; 2 3 /** 4 * A new {@link SettingsException} must be thrown every time someone tries to <i>get</i> an undefined parameter from a 5 * {@link Settings} object (i.e. an attempt is made to retrieve a parameter that has neither been declared nor 6 * negotiated and for which there is no default value). 7 * 8 * @author Andreas Ergenzinger 9 */ 10 public final class SettingsException extends Exception { 11 12 private static final long serialVersionUID = 2044993883966503569L; 13 14 /** 15 * Creates a new {@link SettingsException} without additional information. 16 */ 17 public SettingsException () { 18 super(); 19 } 20 21 /** 22 * Creates a new {@link SettingsException} with additional information. 23 * 24 * @param message information about the cause of the exception 25 */ 26 public SettingsException (final String message) { 27 super(message); 28 } 29 }