Spec-Zone .ru
спецификации, руководства, описания, API

Mirror API
DRAFT ea-b118

com.sun.mirror.type
Class MirroredTypesException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sun.mirror.type.MirroredTypesException
All Implemented Interfaces:
Serializable

Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this exception is MirroredTypesException.

@Deprecated
public class MirroredTypesException
extends RuntimeException

Thrown when an application attempts to access a sequence of Class objects each corresponding to a TypeMirror.

See Also:
MirroredTypeException, Declaration.getAnnotation(Class), Serialized Form

Constructor Summary
Constructor and Description
MirroredTypesException(Collection<TypeMirror> types)
          Deprecated. Constructs a new MirroredTypesException for the specified types.
 
Method Summary
Modifier and Type Method and Description
 Collection<String> getQualifiedNames()
          Deprecated. Returns the fully qualified names of the types being accessed.
 Collection<TypeMirror> getTypeMirrors()
          Deprecated. Returns the type mirrors corresponding to the types being accessed.
 
Methods inherited from class java.lang.Throwable
addSuppressedException, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MirroredTypesException

public MirroredTypesException(Collection<TypeMirror> types)
Deprecated. 
Constructs a new MirroredTypesException for the specified types.

Parameters:
types - an ordered collection of the types being accessed
Method Detail

getTypeMirrors

public Collection<TypeMirror> getTypeMirrors()
Deprecated. 
Returns the type mirrors corresponding to the types being accessed. The type mirrors may be unavailable if this exception has been serialized and then read back in.

Returns:
the type mirrors in order, or null if unavailable

getQualifiedNames

public Collection<String> getQualifiedNames()
Deprecated. 
Returns the fully qualified names of the types being accessed. More precisely, returns the canonical names of each class, interface, array, or primitive, and "void" for the pseudo-type representing the type of void.

Returns:
the fully qualified names, in order, of the types being accessed

Mirror API
DRAFT ea-b118

Copyright © 2004, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.