src/java.compiler/share/classes/javax/lang/model/element/UnknownAnnotationValueException.java
changeset 58011 f016cc0874f0
parent 47216 71c04702a3d5
equal deleted inserted replaced
58010:ef055f777569 58011:f016cc0874f0
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    58      *
    58      *
    59      * @param av the unknown annotation value, may be {@code null}
    59      * @param av the unknown annotation value, may be {@code null}
    60      * @param p an additional parameter, may be {@code null}
    60      * @param p an additional parameter, may be {@code null}
    61      */
    61      */
    62     public UnknownAnnotationValueException(AnnotationValue av, Object p) {
    62     public UnknownAnnotationValueException(AnnotationValue av, Object p) {
    63         super("Unknown annotation value: " + av);
    63         super("Unknown annotation value: \"" + av + "\"");
    64         this.av = av;
    64         this.av = av;
    65         this.parameter = p;
    65         this.parameter = p;
    66     }
    66     }
    67 
    67 
    68     /**
    68     /**