View Javadoc
1 /* 2 * Copyright (c) 2001-2003 The XDoclet team 3 * All rights reserved. 4 */ 5 package xdoclet; 6 7 8 /*** 9 * Exception class for XDoclet. 10 * 11 * @author <a href="mailto:aslak.hellesoy at netcom.no">Aslak Hellesøy</a> 12 * @author <a href="mailto:ara_e at email.com">Ara Abrahamian</a> 13 * @author <a href="mailto:pathos at pandora.be">Mathias Bogaert</a> 14 * @version $Revision: 1.4 $ 15 */ 16 public class XDocletException extends Exception { 17 /*** 18 * Constructs a new XDocletException with <code>null</code> as its detail message. 19 * The cause is not initialized, and may subsequently be initialized by a 20 * call to {@link #initCause}. 21 */ 22 public XDocletException() { 23 super(); 24 } 25 26 /*** 27 * Constructs a new XDocletException with the specified detail message. The 28 * cause is not initialized, and may subsequently be initialized by 29 * a call to {@link #initCause}. 30 * 31 * @param message the message detail of this Exception. 32 */ 33 public XDocletException(String message) { 34 super(message); 35 } 36 37 /*** 38 * Constructs a new XDocletException with the specified detail message and 39 * cause. 40 * <p>Note that the detail message associated with <code>cause</code> is <i>not</i> 41 * automatically incorporated in this exception's detail message. 42 * 43 * @param message the detail message (which is saved for later retrieval 44 * by the {@link #getMessage()} method). 45 * @param cause the cause (which is saved for later retrieval by the 46 * {@link #getCause()} method). (A <tt>null</tt> value is 47 * permitted, and indicates that the cause is nonexistent or 48 * unknown.) 49 */ 50 public XDocletException(String message, Throwable cause) { 51 super(message, cause); 52 } 53 54 /*** 55 * Constructs a new XDocletException with the specified cause and a detail 56 * message of <tt>(cause==null ? null : cause.toString())</tt> (which 57 * typically contains the class and detail message of <tt>cause</tt>). 58 * 59 * @param cause the cause (which is saved for later retrieval by the 60 * {@link #getCause()} method). (A <tt>null</tt> value is 61 * permitted, and indicates that the cause is nonexistent or 62 * unknown.) 63 */ 64 public XDocletException(Throwable cause) { 65 super(cause); 66 } 67 }

This page was automatically generated by Maven