src/share/classes/javax/lang/model/element/UnknownAnnotationValueException.java

changeset 216
58fcba61a77d
parent 1
9a66ca7c79fa
child 554
9d9f26857129
     1.1 --- a/src/share/classes/javax/lang/model/element/UnknownAnnotationValueException.java	Fri Feb 06 10:23:57 2009 -0800
     1.2 +++ b/src/share/classes/javax/lang/model/element/UnknownAnnotationValueException.java	Fri Feb 06 12:49:48 2009 -0800
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright 2005-2006 Sun Microsystems, Inc.  All Rights Reserved.
     1.6 + * Copyright 2005-2009 Sun Microsystems, Inc.  All Rights Reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -25,6 +25,8 @@
    1.11  
    1.12  package javax.lang.model.element;
    1.13  
    1.14 +import javax.lang.model.UnknownEntityException;
    1.15 +
    1.16  /**
    1.17   * Indicates that an unknown kind of annotation value was encountered.
    1.18   * This can occur if the language evolves and new kinds of annotation
    1.19 @@ -39,7 +41,7 @@
    1.20   * @see AnnotationValueVisitor#visitUnknown
    1.21   * @since 1.6
    1.22   */
    1.23 -public class UnknownAnnotationValueException extends RuntimeException {
    1.24 +public class UnknownAnnotationValueException extends UnknownEntityException {
    1.25  
    1.26      private static final long serialVersionUID = 269L;
    1.27  

mercurial