001package Torello.Java.Additional; 002 003/** 004 * A general purpose exception used to indicate there have been problems attempting to parse or 005 * load the contents of {@code '.class'}-File's Constant-Pool into memory. This class is generally 006 * thrown the Constructor & Validator of the class {@link ConstantPool}. 007 * 008 * @see ConstantPool 009 */ 010public class ClassFileArrayException extends RuntimeException 011{ 012 /** <EMBED CLASS='external-html' DATA-FILE-ID=SVUIDEX> */ 013 public static final long serialVersionUID = 1; 014 015 /** Constructs a {@code ClassFileArrayException} with no detail message. */ 016 public ClassFileArrayException() 017 { super(); } 018 019 /** 020 * Constructs a {@code ClassFileArrayException} with the specified detail message. 021 * @param message the detail message. 022 */ 023 public ClassFileArrayException(String message) 024 { super(message); } 025 026 /** 027 * Constructs a new {@code ClassFileArrayException} with the specified detail message and 028 * cause. 029 * 030 * <BR /><BR /><B CLASS=JDDescLabel>NOTE:</B> 031 * 032 * <BR /><BR />The detail message associated with cause is not automatically incorporated into 033 * this exception's detail message. 034 * 035 * @param message The detail message (which is saved for later retrieval by the 036 * {@code Throwable.getMessage()} method). 037 * 038 * @param cause the cause (which is saved for later retrieval by the 039 * {@code Throwable.getCause()} method). (A null value is permitted, and indicates that the 040 * cause is nonexistent or unknown). 041 */ 042 public ClassFileArrayException(String message, Throwable cause) 043 { super(message, cause); } 044 045 /** 046 * Constructs a new {@code ClassFileArrayException} with the specified cause and a detail 047 * message of {@code (cause==null ? null : cause.toString())} (which typically contains the 048 * class and detail message of cause). 049 * 050 * <BR /><BR />This constructor is useful for exceptions that are little more than wrappers for 051 * other throwables. 052 * 053 * @param cause The cause (which is saved for later retrieval by the 054 * {@code Throwable.getCause()} method). (A null value is permitted, and indicates that the 055 * cause is nonexistent or unknown). 056 */ 057 public ClassFileArrayException(Throwable cause) 058 { super(cause); } 059}