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: CommandExecutionException.java 4795 2013-04-21 09:09:02Z schulte $ 032 * 033 */ 034// </editor-fold> 035// SECTION-END 036package org.jomc.cli.commands; 037 038// SECTION-START[Documentation] 039// <editor-fold defaultstate="collapsed" desc=" Generated Documentation "> 040/** 041 * Command execution exception. 042 * 043 * <dl> 044 * <dt><b>Identifier:</b></dt><dd>JOMC ⁑ CLI ⁑ Command Execution Exception</dd> 045 * <dt><b>Name:</b></dt><dd>JOMC ⁑ CLI ⁑ Command Execution Exception</dd> 046 * <dt><b>Abstract:</b></dt><dd>No</dd> 047 * <dt><b>Final:</b></dt><dd>No</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.5 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" ) 059// </editor-fold> 060// SECTION-END 061public class CommandExecutionException extends Exception 062{ 063 // SECTION-START[CommandExecutionException] 064 065 /** Serial version UID for backwards compatibility with 1.2 object streams. */ 066 private static final long serialVersionUID = 5113160867045764410L; 067 068 /** 069 * Creates a new {@code CommandExecutionException} taking a message. 070 * 071 * @param message A message describing the exception. 072 */ 073 public CommandExecutionException( final String message ) 074 { 075 this( message, null ); 076 } 077 078 /** 079 * Creates a new {@code CommandExecutionException} taking a causing throwable. 080 * 081 * @param throwable A throwable causing the exception. 082 */ 083 public CommandExecutionException( final Throwable throwable ) 084 { 085 this( null, throwable ); 086 } 087 088 /** 089 * Creates a new {@code CommandExecutionException} taking a message and a causing throwable. 090 * 091 * @param message A message describing the exception. 092 * @param throwable A throwable causing the exception. 093 */ 094 public CommandExecutionException( final String message, final Throwable throwable ) 095 { 096 super( message, throwable ); 097 } 098 099 // SECTION-END 100 // SECTION-START[Constructors] 101 // <editor-fold defaultstate="collapsed" desc=" Generated Constructors "> 102 /** Creates a new {@code CommandExecutionException} instance. */ 103 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" ) 104 public CommandExecutionException() 105 { 106 // SECTION-START[Default Constructor] 107 super(); 108 // SECTION-END 109 } 110 // </editor-fold> 111 // SECTION-END 112 // SECTION-START[Dependencies] 113 // SECTION-END 114 // SECTION-START[Properties] 115 // SECTION-END 116 // SECTION-START[Messages] 117 // SECTION-END 118}