< prev index next >

src/jdk.jdi/share/classes/com/sun/jdi/InternalException.java

Print this page
rev 17275 : 8181417: Code cleanups in com.sun.jdi

*** 1,7 **** /* ! * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 31,52 **** * * @author Gordon Hirsch * @since 1.3 */ public class InternalException extends RuntimeException { - private static final long serialVersionUID = -9171606393104480607L; - private int errorCode; ! public InternalException() { ! super(); ! this.errorCode = 0; ! } ! ! public InternalException(String s) { ! super(s); ! this.errorCode = 0; ! } public InternalException(int errorCode) { super(); this.errorCode = errorCode; } --- 31,54 ---- * * @author Gordon Hirsch * @since 1.3 */ public class InternalException extends RuntimeException { ! private static final long serialVersionUID = -9171606393104480607L; ! ! private int errorCode; ! ! public InternalException() { ! super(); ! this.errorCode = 0; ! } ! ! public InternalException(String s) { ! super(s); ! this.errorCode = 0; ! } public InternalException(int errorCode) { super(); this.errorCode = errorCode; }
< prev index next >