View Javadoc

1   // SECTION-START[License Header]
2   // <editor-fold defaultstate="collapsed" desc=" Generated License ">
3   /*
4    *   Java Object Management and Configuration
5    *   Copyright (C) Christian Schulte, 2005-206
6    *   All rights reserved.
7    *
8    *   Redistribution and use in source and binary forms, with or without
9    *   modification, are permitted provided that the following conditions
10   *   are met:
11   *
12   *     o Redistributions of source code must retain the above copyright
13   *       notice, this list of conditions and the following disclaimer.
14   *
15   *     o Redistributions in binary form must reproduce the above copyright
16   *       notice, this list of conditions and the following disclaimer in
17   *       the documentation and/or other materials provided with the
18   *       distribution.
19   *
20   *   THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
21   *   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
22   *   AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
23   *   THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
24   *   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
25   *   NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26   *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27   *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28   *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
29   *   THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30   *
31   *   $JOMC: ObjectManagementException.java 4268 2012-02-16 23:14:52Z schulte2005 $
32   *
33   */
34  // </editor-fold>
35  // SECTION-END
36  package org.jomc;
37  
38  // SECTION-START[Documentation]
39  // <editor-fold defaultstate="collapsed" desc=" Generated Documentation ">
40  /**
41   * Gets thrown whenever an unexpected error condition is detected.
42   *
43   * <dl>
44   *   <dt><b>Identifier:</b></dt><dd>org.jomc.ObjectManagementException</dd>
45   *   <dt><b>Name:</b></dt><dd>JOMC API</dd>
46   *   <dt><b>Abstract:</b></dt><dd>No</dd>
47   *   <dt><b>Final:</b></dt><dd>Yes</dd>
48   *   <dt><b>Stateless:</b></dt><dd>No</dd>
49   * </dl>
50   *
51   * @author <a href="mailto:schulte2005@users.sourceforge.net">Christian Schulte</a> 1.0
52   * @version 1.0
53   */
54  // </editor-fold>
55  // SECTION-END
56  // SECTION-START[Annotations]
57  // <editor-fold defaultstate="collapsed" desc=" Generated Annotations ">
58  @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2" )
59  // </editor-fold>
60  // SECTION-END
61  public class ObjectManagementException extends RuntimeException
62  {
63      // SECTION-START[ObjectManagementException]
64  
65      /** Serial version UID for compatibility with 1.0.x object streams. */
66      private static final long serialVersionUID = -2224998950220565115L;
67  
68      /**
69       * Creates a new {@code ObjectManagementException} taking a message describing the exception.
70       *
71       * @param msg The message describing the exception.
72       */
73      public ObjectManagementException( final String msg )
74      {
75          super( msg );
76      }
77  
78      /**
79       * Creates a new {@code ObjectManagementException} taking a causing exception.
80       *
81       * @param t The cause of the exception.
82       */
83      public ObjectManagementException( final Throwable t )
84      {
85          super( t );
86      }
87  
88      /**
89       * Creates a new {@code ObjectManagementException} taking a message describing the exception and a causing
90       * exception.
91       *
92       * @param msg The message describing the exception.
93       * @param t The cause of the exception.
94       */
95      public ObjectManagementException( final String msg, final Throwable t )
96      {
97          super( msg, t );
98      }
99  
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.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2" )
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 }