1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | package Torello.Java; /** * This error is thrown by the <CODE>HiLiteMe.Cache</CODE> class, and it could potentially * be used for any type of Cache Error. */ public class CacheError extends Error { /** <EMBED CLASS='external-html' DATA-FILE-ID=SVUIDEX> */ public static final long serialVersionUID = 1; /** Constructs a new error with null as its detail message. */ CacheError() { super(); } /** * Constructs a new error with the specified detail message. * * @param message The detail message. The detail message is saved for later retrieval by the * {@code Throwable.getMessage()} method. */ CacheError(String message) { super(message); } /** * Constructs a new error with the specified detail message and cause. * <BR /><BR /><B>NOTE:</B> The detail message associated with cause is not automatically * incorporated in this error's detail message. * * @param message The detail message. The detail message is saved for later retrieval by * the {@code Throwable.getMessage()} method. * * @param cause The cause (which is saved for later retrieval by the * {@code Throwable.getCause()} method). (A null value is permitted, and indicates that the * cause is nonexistent or unknown.) */ CacheError(String message, Throwable cause) { super(message, cause); } /** * Constructs a new error with the specified cause and a detail message of * {@code (cause==null ? null : cause.toString())} (which typically contains the class and * detail message of cause). * * @param cause The cause which is saved for later retrieval by the * {@code Throwable.getCause()} method). */ CacheError(Throwable cause) { super(cause); } } |