From d3438942a0080e27c4c17e73045e2697cd96fb39 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Mon, 26 Nov 2012 21:54:44 +0000 Subject: [PATCH] - change funny exception in ConeCollisionShape to an existing one git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10010 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../com/jme3/bullet/collision/shapes/ConeCollisionShape.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/jbullet/com/jme3/bullet/collision/shapes/ConeCollisionShape.java b/engine/src/jbullet/com/jme3/bullet/collision/shapes/ConeCollisionShape.java index 834f86def..2dc27dcb1 100644 --- a/engine/src/jbullet/com/jme3/bullet/collision/shapes/ConeCollisionShape.java +++ b/engine/src/jbullet/com/jme3/bullet/collision/shapes/ConeCollisionShape.java @@ -71,7 +71,7 @@ public class ConeCollisionShape extends CollisionShape { this.height = height; this.axis = axis; if (axis < PhysicsSpace.AXIS_X || axis > PhysicsSpace.AXIS_Z) { - throw new InvalidArgumentException("axis must be one of the PhysicsSpace.AXIS_* constants!"); + throw new UnsupportedOperationException("axis must be one of the PhysicsSpace.AXIS_* constants!"); } createShape(); }