1 /* 2 * @(#)FilerException.java 1.6 06/08/15 3 * 4 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 package javax.annotation.processing; 9 10 import java.io.IOException; 11 import javax.annotation.processing.Filer; 12 13 /** 14 * Indicates a {@link Filer} detected an attempt to open a file that 15 * would violate the guarantees provided by the {@code Filer}. Those 16 * guarantees include not creating the same file more than once, not 17 * creating multiple files corresponding to the same type, and not 18 * creating files for types with invalid names. 19 * 20 * @author Joseph D. Darcy 21 * @author Scott Seligman 22 * @author Peter von der Ahé 23 * @version 1.6 06/08/15 24 * @since 1.6 25 */ 26 public class FilerException extends IOException { 27 static final long serialVersionUID = 8426423106453163293L; 28 /** 29 * Constructs an exception with the specified detail message. 30 * @param s the detail message, which should include the name of 31 * the file attempting to be opened; may be {@code null} 32 */ 33 public FilerException(String s) { 34 super(s); 35 } 36 } 37