001    // SECTION-START[License Header]
002    // <editor-fold defaultstate="collapsed" desc=" Generated License ">
003    /*
004     *   Copyright (c) 2009 The JOMC Project
005     *   Copyright (c) 2005 Christian Schulte <cs@jomc.org>
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 BY THE JOMC PROJECT AND CONTRIBUTORS "AS IS"
021     *   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
022     *   THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
023     *   PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE JOMC PROJECT OR
024     *   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
025     *   EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
026     *   PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
027     *   OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
028     *   WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
029     *   OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
030     *   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
031     *
032     *   $Id: ObjectManagementException.java 1102 2009-12-07 03:01:58Z schulte2005 $
033     *
034     */
035    // </editor-fold>
036    // SECTION-END
037    package org.jomc;
038    
039    // SECTION-START[Documentation]
040    // <editor-fold defaultstate="collapsed" desc=" Generated Documentation ">
041    /**
042     * Gets thrown whenever an unexpected error condition is detected.
043     *
044     * @author <a href="mailto:cs@jomc.org">Christian Schulte</a> 1.0
045     * @version $Id: ObjectManagementException.java 1102 2009-12-07 03:01:58Z schulte2005 $
046     */
047    // </editor-fold>
048    // SECTION-END
049    // SECTION-START[Annotations]
050    // <editor-fold defaultstate="collapsed" desc=" Generated Annotations ">
051    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
052                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
053    // </editor-fold>
054    // SECTION-END
055    public class ObjectManagementException extends RuntimeException
056    {
057        // SECTION-START[ObjectManagementException]
058    
059        /** Serial version UID for compatibility with 1.0.x object streams. */
060        private static final long serialVersionUID = -2224998950220565115L;
061    
062        /**
063         * Creates a new {@code ObjectManagementException} taking a message describing the exception.
064         *
065         * @param msg The message describing the exception.
066         */
067        public ObjectManagementException( final String msg )
068        {
069            super( msg );
070        }
071    
072        /**
073         * Creates a new {@code ObjectManagementException} taking a causing exception.
074         *
075         * @param t The cause of the exception.
076         */
077        public ObjectManagementException( final Throwable t )
078        {
079            super( t );
080        }
081    
082        /**
083         * Creates a new {@code ObjectManagementException} taking a message describing the exception and a causing
084         * exception.
085         *
086         * @param msg The message describing the exception.
087         * @param t The cause of the exception.
088         */
089        public ObjectManagementException( final String msg, final Throwable t )
090        {
091            super( msg, t );
092        }
093    
094        // SECTION-END
095        // SECTION-START[Constructors]
096        // <editor-fold defaultstate="collapsed" desc=" Generated Constructors ">
097    
098        /** Creates a new {@code ObjectManagementException} instance. */
099        @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
100                                     comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
101        public ObjectManagementException()
102        {
103            // SECTION-START[Default Constructor]
104            super();
105            // SECTION-END
106        }
107        // </editor-fold>
108        // SECTION-END
109        // SECTION-START[Dependencies]
110        // SECTION-END
111        // SECTION-START[Properties]
112        // SECTION-END
113        // SECTION-START[Messages]
114        // SECTION-END
115    }