git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10010 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
@@ -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();