src/share/classes/com/sun/mirror/type/MirroredTypeException.java

Print this page

        

*** 33,45 **** --- 33,52 ---- /** * Thrown when an application attempts to access the {@link Class} object * corresponding to a {@link TypeMirror}. * + * @deprecated All components of this API have been superseded by the + * standardized annotation processing API. The replacement for the + * functionality of this exception is {@link + * javax.lang.model.type.MirroredTypeException}. + * * @see MirroredTypesException * @see Declaration#getAnnotation(Class) */ + @Deprecated + @SuppressWarnings("deprecation") public class MirroredTypeException extends RuntimeException { private static final long serialVersionUID = 1; private transient TypeMirror type; // cannot be serialized