src/jdk.jshell/share/classes/jdk/jshell/execution/RemoteCodes.java
changeset 49515 083318155ad1
parent 47216 71c04702a3d5
equal deleted inserted replaced
49514:25695fce1601 49515:083318155ad1
     1 /*
     1 /*
     2  * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 2018, 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
    87     /**
    87     /**
    88      * The command failed.
    88      * The command failed.
    89      */
    89      */
    90     static final int RESULT_INTERNAL_PROBLEM        = 103;
    90     static final int RESULT_INTERNAL_PROBLEM        = 103;
    91     /**
    91     /**
    92      * User exception encountered.
    92      * User exception encountered. Legacy and used within RESULT_USER_EXCEPTION_CHAINED
    93      */
    93      */
    94     static final int RESULT_USER_EXCEPTION          = 104;
    94     static final int RESULT_USER_EXCEPTION          = 104;
    95     /**
    95     /**
    96      * Corralled code exception encountered.
    96      * Corralled code exception encountered.
    97      */
    97      */
   102     static final int RESULT_CLASS_INSTALL_EXCEPTION = 106;
   102     static final int RESULT_CLASS_INSTALL_EXCEPTION = 106;
   103     /**
   103     /**
   104      * The invoke has been stopped.
   104      * The invoke has been stopped.
   105      */
   105      */
   106     static final int RESULT_STOPPED                 = 107;
   106     static final int RESULT_STOPPED                 = 107;
   107 
   107     /**
       
   108      * User exception encountered.
       
   109      * @since 11
       
   110      */
       
   111     static final int RESULT_USER_EXCEPTION_CHAINED  = 108;
   108 }
   112 }