summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKevin Rushforth <[email protected]>2004-11-09 22:03:59 +0000
committerKevin Rushforth <[email protected]>2004-11-09 22:03:59 +0000
commitb224fce668f408c0a779f5668ea509f1cccb2a6c (patch)
treeb1e3991125426a46382c830da0f06046747646b0 /src
parent9fa6433d10c8454fae5e0d13c61b2fcea7d83b62 (diff)
Changed a couple of erroneous throw "InternalError" calls to "RuntimeException" calls.
git-svn-id: https://svn.java.net/svn/j3d-core-utils~svn/trunk@31 9497e636-51bd-65ba-982d-a4982e1767a5
Diffstat (limited to 'src')
-rw-r--r--src/classes/share/com/sun/j3d/utils/picking/PickTool.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/classes/share/com/sun/j3d/utils/picking/PickTool.java b/src/classes/share/com/sun/j3d/utils/picking/PickTool.java
index 61ae9db..5dec8cd 100644
--- a/src/classes/share/com/sun/j3d/utils/picking/PickTool.java
+++ b/src/classes/share/com/sun/j3d/utils/picking/PickTool.java
@@ -468,7 +468,7 @@ p @param end The end of the segment
retval = pickGeomAllIntersect(pickShape);
break;
default:
- throw new java.lang.InternalError("Invalid pick mode");
+ throw new RuntimeException("Invalid pick mode");
}
return retval;
}
@@ -491,7 +491,7 @@ p @param end The end of the segment
retval = pickGeomAnyIntersect(pickShape);
break;
default:
- throw new java.lang.InternalError("Invalid pick mode");
+ throw new RuntimeException("Invalid pick mode");
}
return retval;
}
@@ -533,7 +533,7 @@ p @param end The end of the segment
retval = pickGeomAllSortedIntersect(pickShape);
break;
default:
- throw new java.lang.InternalError("Invalid pick mode");
+ throw new RuntimeException("Invalid pick mode");
}
return retval;
}
@@ -571,7 +571,7 @@ p @param end The end of the segment
retval = pickGeomClosestIntersect(pickShape);
break;
default:
- throw new java.lang.InternalError("Invalid pick mode");
+ throw new RuntimeException("Invalid pick mode");
}
return retval;
}