Wed, 23 Sep 2009 19:15:04 -0700
6572945: javah should be written as an annotation processor, not a doclet
Reviewed-by: darcy
jjg@416 | 1 | /* |
jjg@416 | 2 | * Copyright 2007-2008 Sun Microsystems, Inc. All Rights Reserved. |
jjg@416 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
jjg@416 | 4 | * |
jjg@416 | 5 | * This code is free software; you can redistribute it and/or modify it |
jjg@416 | 6 | * under the terms of the GNU General Public License version 2 only, as |
jjg@416 | 7 | * published by the Free Software Foundation. Sun designates this |
jjg@416 | 8 | * particular file as subject to the "Classpath" exception as provided |
jjg@416 | 9 | * by Sun in the LICENSE file that accompanied this code. |
jjg@416 | 10 | * |
jjg@416 | 11 | * This code is distributed in the hope that it will be useful, but WITHOUT |
jjg@416 | 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
jjg@416 | 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
jjg@416 | 14 | * version 2 for more details (a copy is included in the LICENSE file that |
jjg@416 | 15 | * accompanied this code). |
jjg@416 | 16 | * |
jjg@416 | 17 | * You should have received a copy of the GNU General Public License version |
jjg@416 | 18 | * 2 along with this work; if not, write to the Free Software Foundation, |
jjg@416 | 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
jjg@416 | 20 | * |
jjg@416 | 21 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
jjg@416 | 22 | * CA 95054 USA or visit www.sun.com if you need additional information or |
jjg@416 | 23 | * have any questions. |
jjg@416 | 24 | */ |
jjg@416 | 25 | |
jjg@416 | 26 | package com.sun.tools.javah; |
jjg@416 | 27 | |
jjg@416 | 28 | /** |
jjg@416 | 29 | * <p><b>This is NOT part of any API supported by Sun Microsystems. If |
jjg@416 | 30 | * you write code that depends on this, you do so at your own risk. |
jjg@416 | 31 | * This code and its internal interfaces are subject to change or |
jjg@416 | 32 | * deletion without notice.</b> |
jjg@416 | 33 | */ |
jjg@416 | 34 | public class InternalError extends Error { |
jjg@416 | 35 | private static final long serialVersionUID = 8411861562497165022L; |
jjg@416 | 36 | InternalError(String msg, Throwable cause) { |
jjg@416 | 37 | super("Internal error: " + msg); |
jjg@416 | 38 | initCause(cause); |
jjg@416 | 39 | } |
jjg@416 | 40 | } |