From b224fce668f408c0a779f5668ea509f1cccb2a6c Mon Sep 17 00:00:00 2001 From: Kevin Rushforth Date: Tue, 9 Nov 2004 22:03:59 +0000 Subject: 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 --- src/classes/share/com/sun/j3d/utils/picking/PickTool.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3