215N/A/*
553N/A * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
215N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
215N/A *
215N/A * This code is free software; you can redistribute it and/or modify it
215N/A * under the terms of the GNU General Public License version 2 only, as
553N/A * published by the Free Software Foundation. Oracle designates this
215N/A * particular file as subject to the "Classpath" exception as provided
553N/A * by Oracle in the LICENSE file that accompanied this code.
215N/A *
215N/A * This code is distributed in the hope that it will be useful, but WITHOUT
215N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
215N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
215N/A * version 2 for more details (a copy is included in the LICENSE file that
215N/A * accompanied this code).
215N/A *
215N/A * You should have received a copy of the GNU General Public License version
215N/A * 2 along with this work; if not, write to the Free Software Foundation,
215N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
215N/A *
553N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
553N/A * or visit www.oracle.com if you need additional information or have any
553N/A * questions.
215N/A */
215N/A
215N/Apackage javax.lang.model;
215N/A
215N/A/**
215N/A * Superclass of exceptions which indicate that an unknown kind of
215N/A * entity was encountered. This situation can occur if the language
215N/A * evolves and new kinds of constructs are introduced. Subclasses of
215N/A * this exception may be thrown by visitors to indicate that the
215N/A * visitor was created for a prior version of the language.
215N/A *
215N/A * <p>A common superclass for those exceptions allows a single catch
215N/A * block to have code handling them uniformly.
215N/A *
215N/A * @author Joseph D. Darcy
215N/A * @see javax.lang.model.element.UnknownElementException
215N/A * @see javax.lang.model.element.UnknownAnnotationValueException
215N/A * @see javax.lang.model.type.UnknownTypeException
215N/A * @since 1.7
215N/A */
215N/Apublic class UnknownEntityException extends RuntimeException {
215N/A
215N/A private static final long serialVersionUID = 269L;
215N/A
215N/A /**
215N/A * Creates a new {@code UnknownEntityException} with the specified
215N/A * detail message.
215N/A *
215N/A * @param message the detail message
215N/A */
215N/A protected UnknownEntityException(String message) {
215N/A super(message);
215N/A }
215N/A}