MalformedParameterizedTypeException


MalformedParameterizedTypeException java.lang.reflect

Java 5.0 serializable unchecked

An exception of this type is thrown during reflection if the generic type information contained in a class file is syntactically correct but semantically wrong. An example would be if the number of type parameters in a ParameterizedType differs from the number of type variables declared by the generic type. See also GenericSignatureFormatError . Although this type is not an Error , it does indicate a malformed class file and should not arise in common practice.

Figure 10-97. java.lang.reflect.MalformedParameterizedTypeException

 public class  MalformedParameterizedTypeException  extends RuntimeException {  // Public Constructors  public  MalformedParameterizedTypeException  ( );   } 



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net