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 <cs@schulte.it>, 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 5061 2015-05-31 13:20:40Z schulte $ 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:cs@schulte.it">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.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" ) 059// </editor-fold> 060// SECTION-END 061public class ObjectManagementException extends RuntimeException 062{ 063 // SECTION-START[ObjectManagementException] 064 065 /** 066 * Serial version UID for compatibility with 1.0.x object streams. 067 */ 068 private static final long serialVersionUID = -2224998950220565115L; 069 070 /** 071 * Creates a new {@code ObjectManagementException} taking a message describing the exception. 072 * 073 * @param msg The message describing the exception. 074 */ 075 public ObjectManagementException( final String msg ) 076 { 077 super( msg ); 078 } 079 080 /** 081 * Creates a new {@code ObjectManagementException} taking a causing exception. 082 * 083 * @param t The cause of the exception. 084 */ 085 public ObjectManagementException( final Throwable t ) 086 { 087 super( t ); 088 } 089 090 /** 091 * Creates a new {@code ObjectManagementException} taking a message describing the exception and a causing 092 * exception. 093 * 094 * @param msg The message describing the exception. 095 * @param t The cause of the exception. 096 */ 097 public ObjectManagementException( final String msg, final Throwable t ) 098 { 099 super( msg, t ); 100 } 101 102 // SECTION-END 103 // SECTION-START[Constructors] 104 // <editor-fold defaultstate="collapsed" desc=" Generated Constructors "> 105 /** Creates a new {@code ObjectManagementException} instance. */ 106 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" ) 107 public ObjectManagementException() 108 { 109 // SECTION-START[Default Constructor] 110 super(); 111 // SECTION-END 112 } 113 // </editor-fold> 114 // SECTION-END 115 // SECTION-START[Dependencies] 116 // SECTION-END 117 // SECTION-START[Properties] 118 // SECTION-END 119 // SECTION-START[Messages] 120 // SECTION-END 121 122}