aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl/impl/nurbs/internals/NurbsException.java
diff options
context:
space:
mode:
authorKenneth Russel <kbrussel@alum.mit.edu>2007-10-09 07:38:10 +0000
committerKenneth Russel <kbrussel@alum.mit.edu>2007-10-09 07:38:10 +0000
commitc92573e5f90bfefdfa6697a3f628a263c2f211f9 (patch)
tree53258db2dae2d3a54f9c2f30cd1a55fe163ba958 /src/classes/com/sun/opengl/impl/nurbs/internals/NurbsException.java
parentf7b664564d2dcdf674660b5d1fc38c7f2ac25b76 (diff)
Integration of Tomas Hrasky's port of basic GLU NURBS functionality
from C++ to Java, plus example applications, done as part of his Bachelor of Science degree at the University of Hradec Králové, Faculty of Informatics and Management. Current state of code is documented in src/classes/com/sun/opengl/impl/nurbs/README.txt. Example applications require Java 1.5 and are not currently built by default. Specify -Djogl.nurbs=1 during jogl-demos build with a 1.5 javac on the PATH to build them. Dependent jars are copied to build output directory. Deleted old partially-complete GLU NURBS port. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1389 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/com/sun/opengl/impl/nurbs/internals/NurbsException.java')
-rw-r--r--src/classes/com/sun/opengl/impl/nurbs/internals/NurbsException.java30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/classes/com/sun/opengl/impl/nurbs/internals/NurbsException.java b/src/classes/com/sun/opengl/impl/nurbs/internals/NurbsException.java
deleted file mode 100644
index 5453807cd..000000000
--- a/src/classes/com/sun/opengl/impl/nurbs/internals/NurbsException.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/** Encapsulates functionality of the C GLU NURBS implementation's
- setjmp/longjmp wrappers. */
-
-public class NurbsException extends RuntimeException {
- private int errorCode;
-
- public NurbsException(int code) {
- super();
- errorCode = code;
- }
-
- public NurbsException(String message, int code) {
- super(message);
- errorCode = code;
- }
-
- public NurbsException(String message, Throwable cause, int code) {
- super(message, cause);
- errorCode = code;
- }
-
- public NurbsException(Throwable cause, int code) {
- super(cause);
- errorCode = code;
- }
-
- public int errorCode() {
- return errorCode;
- }
-}