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

Print this page

        

*** 36,48 **** --- 36,55 ---- /** * Thrown when an application attempts to access a sequence of {@link Class} * objects each 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.MirroredTypesException}. + * * @see MirroredTypeException * @see Declaration#getAnnotation(Class) */ + @Deprecated + @SuppressWarnings("deprecation") public class MirroredTypesException extends RuntimeException { private static final long serialVersionUID = 1; private transient Collection<TypeMirror> types; // cannot be serialized