001package bradleyross.library; 002/** 003 * Indicates that a method is not supported for the 004 * existing environment. 005 * 006 * @author Bradley Ross 007 * 008 */ 009public class NotSupportedException extends Exception 010{ 011 /** 012 * Included to satisfy Serializable interface 013 */ 014 private static final long serialVersionUID = 1L; 015 /** 016 * Creates an exception where the message and cause are 017 * set to null. 018 */ 019 public NotSupportedException() 020 { ; } 021 /** 022 * Creates an exception where the message is specified but the 023 * cause is set to null. 024 * 025 * @param message Message describing exception 026 */ 027 public NotSupportedException(String message) 028 { 029 super(message); 030 } 031 /** 032 * Creates an exception where the cause is specified but the 033 * message is set to null. 034 * 035 * @param cause Cause of exception 036 */ 037 public NotSupportedException(Throwable cause) 038 { 039 super(cause); 040 } 041 /** 042 * Creates an exception where both the message and cause 043 * are specified. 044 * 045 * @param message Message describing exception 046 * @param cause Cause of exception 047 */ 048 public NotSupportedException(String message, Throwable cause) 049 { 050 super(message, cause); 051 } 052}