|
Last change
on this file since 1519 was 2, checked in by bird, 23 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
659 bytes
|
| Line | |
|---|
| 1 | /* Copyright (C) 2000 Free Software Foundation
|
|---|
| 2 |
|
|---|
| 3 | This file is part of libgcj.
|
|---|
| 4 |
|
|---|
| 5 | This software is copyrighted work licensed under the terms of the
|
|---|
| 6 | Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
|---|
| 7 | details. */
|
|---|
| 8 |
|
|---|
| 9 | package gnu.gcj.xlib;
|
|---|
| 10 |
|
|---|
| 11 | /**
|
|---|
| 12 | * Runtime exception that occurred during an Xlib operation.
|
|---|
| 13 | *
|
|---|
| 14 | * @author Rolf W. Rasmussen <[email protected]>
|
|---|
| 15 | */
|
|---|
| 16 | public class XException extends RuntimeException
|
|---|
| 17 | {
|
|---|
| 18 | public XException() {}
|
|---|
| 19 | public XException(String msg) { super(msg); }
|
|---|
| 20 |
|
|---|
| 21 | public XException(Display display, int status)
|
|---|
| 22 | {
|
|---|
| 23 | super(toString(display, status));
|
|---|
| 24 | }
|
|---|
| 25 |
|
|---|
| 26 | static native String toString(Display display, int status);
|
|---|
| 27 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.