001    package org.LiveGraph.settings;
002    
003    /**
004     * Is thrown when an exception is raised by a {@link SettingsObserver};
005     * usually used to wrap the raised exception inside a {@code RuntimeException}
006     * in order to allow other {@link SettingsObserver}s to complete handling the
007     * event.
008     * 
009     * <p style="font-size:smaller;">This product includes software developed by the
010     *    <strong>LiveGraph</strong> project and its contributors.<br />
011     *    (<a href="http://www.live-graph.org" target="_blank">http://www.live-graph.org</a>)<br />
012     *    Copyright (c) 2007 G. Paperin.<br />
013     *    All rights reserved.
014     * </p>
015     * <p style="font-size:smaller;">File: ErrorWhileSettingHasChangedProcessingException.java</p> 
016     * <p style="font-size:smaller;">Redistribution and use in source and binary forms, with or
017     *    without modification, are permitted provided that the following terms and conditions are met:
018     * </p>
019     * <p style="font-size:smaller;">1. Redistributions of source code must retain the above
020     *    acknowledgement of the LiveGraph project and its web-site, the above copyright notice,
021     *    this list of conditions and the following disclaimer.<br />
022     *    2. Redistributions in binary form must reproduce the above acknowledgement of the
023     *    LiveGraph project and its web-site, the above copyright notice, this list of conditions
024     *    and the following disclaimer in the documentation and/or other materials provided with
025     *    the distribution.<br />
026     *    3. All advertising materials mentioning features or use of this software or any derived
027     *    software must display the following acknowledgement:<br />
028     *    <em>This product includes software developed by the LiveGraph project and its
029     *    contributors.<br />(http://www.live-graph.org)</em><br />
030     *    4. All advertising materials distributed in form of HTML pages or any other technology
031     *    permitting active hyper-links that mention features or use of this software or any
032     *    derived software must display the acknowledgment specified in condition 3 of this
033     *    agreement, and in addition, include a visible and working hyper-link to the LiveGraph
034     *    homepage (http://www.live-graph.org).
035     * </p>
036     * <p style="font-size:smaller;">THIS SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY
037     *    OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
038     *    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND  NONINFRINGEMENT. IN NO EVENT SHALL
039     *    THE AUTHORS, CONTRIBUTORS OR COPYRIGHT  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
040     *    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING  FROM, OUT OF OR
041     *    IN CONNECTION WITH THE SOFTWARE OR THE USE OR  OTHER DEALINGS IN THE SOFTWARE.
042     * </p>
043     * 
044     * @author Greg Paperin (<a href="http://www.paperin.org" target="_blank">http://www.paperin.org</a>)
045     * @version {@value org.LiveGraph.LiveGraph#version}
046     */
047    public class ErrorWhileSettingHasChangedProcessingException extends RuntimeException {
048    
049    private boolean dontBreakObserverNotification = false;
050    
051    public ErrorWhileSettingHasChangedProcessingException() {
052            super();
053    }
054    
055    public ErrorWhileSettingHasChangedProcessingException(String message) {
056            super(message);
057    }
058    
059    public ErrorWhileSettingHasChangedProcessingException(Throwable cause) {
060            super(cause);
061    }
062    
063    public ErrorWhileSettingHasChangedProcessingException(String message, Throwable cause) {
064            super(message, cause);
065    }
066    
067    public boolean getDontBreakObserverNotification() {
068            return dontBreakObserverNotification;
069    }
070    
071    public void setDontBreakObserverNotification(boolean val) {
072            dontBreakObserverNotification = val;
073    }
074    
075    }