2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / libjava / gnu / gcj / xlib / XException.java
blob32adfc14697a5f00883faddf33284ffa351ed011
1 /* Copyright (C) 2000 Free Software Foundation
3 This file is part of libgcj.
5 This software is copyrighted work licensed under the terms of the
6 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
7 details. */
9 package gnu.gcj.xlib;
11 /**
12 * Runtime exception that occurred during an Xlib operation.
14 * @author Rolf W. Rasmussen <rolfwr@ii.uib.no>
16 public class XException extends RuntimeException
18 public XException() {}
19 public XException(String msg) { super(msg); }
21 public XException(Display display, int status)
23 super(toString(display, status));
26 static native String toString(Display display, int status);