langtools/src/jdk.jshell/share/classes/jdk/jshell/UnresolvedReferenceException.java
changeset 37751 77e7bb904a13
parent 36499 9d823cc0fe98
child 43770 a321bed02000
equal deleted inserted replaced
37750:d213951c811b 37751:77e7bb904a13
    36  * the Snippet id and for snippets without a method name (for example an
    36  * the Snippet id and for snippets without a method name (for example an
    37  * expression) <code>StackTraceElement.getName()</code> will be the
    37  * expression) <code>StackTraceElement.getName()</code> will be the
    38  * empty string.
    38  * empty string.
    39  */
    39  */
    40 @SuppressWarnings("serial")             // serialVersionUID intentionally omitted
    40 @SuppressWarnings("serial")             // serialVersionUID intentionally omitted
    41 public class UnresolvedReferenceException extends Exception {
    41 public class UnresolvedReferenceException extends JShellException {
    42 
    42 
    43     final DeclarationSnippet snippet;
    43     final DeclarationSnippet snippet;
    44 
    44 
    45     UnresolvedReferenceException(DeclarationSnippet snippet, StackTraceElement[] stackElements) {
    45     UnresolvedReferenceException(DeclarationSnippet snippet, StackTraceElement[] stackElements) {
    46         super("Attempt to use definition snippet with unresolved references");
    46         super("Attempt to use definition snippet with unresolved references");