001package Torello.Java.Build;
002
003/** This error is thrown when an Operating System Command has failed. */
004public class BuildError extends Error
005{
006    /** <EMBED CLASS='external-html' DATA-FILE-ID=SVUIDEX>  */
007    public static final long serialVersionUID = 1;
008
009    /** Constructs a new error with null as its detail message. */
010    BuildError()
011    { super(); }
012
013    /**
014     * Constructs a new error with the specified detail message.
015     *
016     * @param message The detail message. The detail message is saved for later retrieval by the
017     * {@code Throwable.getMessage()} method.
018     */
019    BuildError(String message)
020    { super(message); }
021
022    /**
023     * Constructs a new error with the specified detail message and cause.
024     * 
025     * <BR /><BR /><B>NOTE:</B> The detail message associated with cause is not automatically
026     * incorporated in this error's detail message.
027     *
028     * @param message The detail message. The detail message is saved for later retrieval by
029     * the {@code Throwable.getMessage()} method.
030     *
031     * @param cause The cause (which is saved for later retrieval by the
032     * {@code Throwable.getCause()} method). (A null value is permitted, and indicates that the
033     * cause is nonexistent or unknown.)
034     */
035    BuildError(String message, Throwable cause)
036    { super(message, cause); }
037
038    /**
039     * Constructs a new error with the specified cause and a detail message of 
040     * {@code (cause==null ? null : cause.toString())} (which typically contains the class and
041     * detail message of cause).
042     *
043     * @param cause  The cause which is saved for later retrieval by the
044     * {@code Throwable.getCause()} method).
045     */
046    BuildError(Throwable cause)
047    { super(cause); }
048}