001// SECTION-START[License Header]
002// <editor-fold defaultstate="collapsed" desc=" Generated License ">
003/*
004 *   Java Object Management and Configuration
005 *   Copyright (C) Christian Schulte, 2005-206
006 *   All rights reserved.
007 *
008 *   Redistribution and use in source and binary forms, with or without
009 *   modification, are permitted provided that the following conditions
010 *   are met:
011 *
012 *     o Redistributions of source code must retain the above copyright
013 *       notice, this list of conditions and the following disclaimer.
014 *
015 *     o Redistributions in binary form must reproduce the above copyright
016 *       notice, this list of conditions and the following disclaimer in
017 *       the documentation and/or other materials provided with the
018 *       distribution.
019 *
020 *   THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
021 *   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
022 *   AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
023 *   THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
024 *   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
025 *   NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
026 *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
027 *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
028 *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
029 *   THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
030 *
031 *   $JOMC: ObjectManagementException.java 4588 2012-06-03 06:01:30Z schulte2005 $
032 *
033 */
034// </editor-fold>
035// SECTION-END
036package org.jomc;
037
038// SECTION-START[Documentation]
039// <editor-fold defaultstate="collapsed" desc=" Generated Documentation ">
040/**
041 * Gets thrown whenever an unexpected error condition is detected.
042 *
043 * <dl>
044 *   <dt><b>Identifier:</b></dt><dd>org.jomc.ObjectManagementException</dd>
045 *   <dt><b>Name:</b></dt><dd>JOMC API</dd>
046 *   <dt><b>Abstract:</b></dt><dd>No</dd>
047 *   <dt><b>Final:</b></dt><dd>Yes</dd>
048 *   <dt><b>Stateless:</b></dt><dd>No</dd>
049 * </dl>
050 *
051 * @author <a href="mailto:schulte2005@users.sourceforge.net">Christian Schulte</a> 1.0
052 * @version 1.0
053 */
054// </editor-fold>
055// SECTION-END
056// SECTION-START[Annotations]
057// <editor-fold defaultstate="collapsed" desc=" Generated Annotations ">
058@javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
059// </editor-fold>
060// SECTION-END
061public class ObjectManagementException extends RuntimeException
062{
063    // SECTION-START[ObjectManagementException]
064
065    /** Serial version UID for compatibility with 1.0.x object streams. */
066    private static final long serialVersionUID = -2224998950220565115L;
067
068    /**
069     * Creates a new {@code ObjectManagementException} taking a message describing the exception.
070     *
071     * @param msg The message describing the exception.
072     */
073    public ObjectManagementException( final String msg )
074    {
075        super( msg );
076    }
077
078    /**
079     * Creates a new {@code ObjectManagementException} taking a causing exception.
080     *
081     * @param t The cause of the exception.
082     */
083    public ObjectManagementException( final Throwable t )
084    {
085        super( t );
086    }
087
088    /**
089     * Creates a new {@code ObjectManagementException} taking a message describing the exception and a causing
090     * exception.
091     *
092     * @param msg The message describing the exception.
093     * @param t The cause of the exception.
094     */
095    public ObjectManagementException( final String msg, final Throwable t )
096    {
097        super( msg, t );
098    }
099
100    // SECTION-END
101    // SECTION-START[Constructors]
102    // <editor-fold defaultstate="collapsed" desc=" Generated Constructors ">
103    /** Creates a new {@code ObjectManagementException} instance. */
104    @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
105    public ObjectManagementException()
106    {
107        // SECTION-START[Default Constructor]
108        super();
109        // SECTION-END
110    }
111    // </editor-fold>
112    // SECTION-END
113    // SECTION-START[Dependencies]
114    // SECTION-END
115    // SECTION-START[Properties]
116    // SECTION-END
117    // SECTION-START[Messages]
118    // SECTION-END
119}