src/share/classes/java/lang/InternalError.java

Print this page
rev 10048 : 8044740: Convert all JDK versions used in @since tag to 1.n[.n] in jdk repo
Reviewed-by:


  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package java.lang;
  27 
  28 /**
  29  * Thrown to indicate some unexpected internal error has occurred in
  30  * the Java Virtual Machine.
  31  *
  32  * @author  unascribed
  33  * @since   JDK1.0
  34  */
  35 public class InternalError extends VirtualMachineError {
  36     private static final long serialVersionUID = -9062593416125562365L;
  37 
  38     /**
  39      * Constructs an <code>InternalError</code> with no detail message.
  40      */
  41     public InternalError() {
  42         super();
  43     }
  44 
  45     /**
  46      * Constructs an <code>InternalError</code> with the specified
  47      * detail message.
  48      *
  49      * @param   message   the detail message.
  50      */
  51     public InternalError(String message) {
  52         super(message);
  53     }




  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package java.lang;
  27 
  28 /**
  29  * Thrown to indicate some unexpected internal error has occurred in
  30  * the Java Virtual Machine.
  31  *
  32  * @author  unascribed
  33  * @since   1.0
  34  */
  35 public class InternalError extends VirtualMachineError {
  36     private static final long serialVersionUID = -9062593416125562365L;
  37 
  38     /**
  39      * Constructs an <code>InternalError</code> with no detail message.
  40      */
  41     public InternalError() {
  42         super();
  43     }
  44 
  45     /**
  46      * Constructs an <code>InternalError</code> with the specified
  47      * detail message.
  48      *
  49      * @param   message   the detail message.
  50      */
  51     public InternalError(String message) {
  52         super(message);
  53     }