src/share/classes/javax/lang/model/type/UnknownTypeException.java
Print this page
rev 212 : 6794071: Provide exception superclass for UnknownFooExceptions
Reviewed-by: jjg
*** 1,7 ****
/*
! * Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Sun designates this
--- 1,7 ----
/*
! * Copyright 2005-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Sun designates this
*** 23,32 ****
--- 23,34 ----
* have any questions.
*/
package javax.lang.model.type;
+ import javax.lang.model.UnknownEntityException;
+
/**
* Indicates that an unknown kind of type was encountered. This can
* occur if the language evolves and new kinds of types are added to
* the {@code TypeMirror} hierarchy. May be thrown by a {@linkplain
* TypeVisitor type visitor} to indicate that the visitor was created
*** 36,46 ****
* @author Scott Seligman
* @author Peter von der Ahé
* @see TypeVisitor#visitUnknown
* @since 1.6
*/
! public class UnknownTypeException extends RuntimeException {
private static final long serialVersionUID = 269L;
private transient TypeMirror type;
private transient Object parameter;
--- 38,48 ----
* @author Scott Seligman
* @author Peter von der Ahé
* @see TypeVisitor#visitUnknown
* @since 1.6
*/
! public class UnknownTypeException extends UnknownEntityException {
private static final long serialVersionUID = 269L;
private transient TypeMirror type;
private transient Object parameter;