javax.lang.model.type
public class: MirroredTypesException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.lang.model.type.MirroredTypesException
All Implemented Interfaces:
Serializable
Thrown when an application attempts to access a sequence of
Class objects each corresponding to a
TypeMirror .
Also see:
- MirroredTypeException
- Element#getAnnotation(Class)
- author:
Joseph - D. Darcy
- author:
Scott - Seligman
- author:
Peter - von der Ahé
- since:
1.6 -
| Constructor: |
public MirroredTypesException(List types) {
// cannot be serialized
super("Attempt to access Class objects for TypeMirrors " + types);
this.types = Collections.unmodifiableList(types);
}
Constructs a new MirroredTypesException for the specified types. Parameters:
types - the types being accessed
|
| Method from javax.lang.model.type.MirroredTypesException Summary: |
|---|
|
getTypeMirrors |
| Methods from java.lang.Throwable: |
|---|
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from javax.lang.model.type.MirroredTypesException Detail: |
public List getTypeMirrors() {
return types;
}
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. |