Package jahuwaldt.j3d.geom
Class InvalidArraySizeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jahuwaldt.j3d.geom.InvalidArraySizeException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidArraySizeException extends java.lang.RuntimeException
Exception for when one of the requested geometry generation arrays is not big enough to contain the data requested.- Version:
- $Revision: 1.1 $
- Author:
- Justin Couch
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidArraySizeException(int requested, int given)
Create an exception that contains a prefabricated message.InvalidArraySizeException(java.lang.String msg, int requested, int given)
Create an exception that contains the given message plus a pre-fabricated part.
-
-
-
Constructor Detail
-
InvalidArraySizeException
public InvalidArraySizeException(int requested, int given)
Create an exception that contains a prefabricated message.- Parameters:
requested
- The required size of the arraygiven
- The supplied array size
-
InvalidArraySizeException
public InvalidArraySizeException(java.lang.String msg, int requested, int given)
Create an exception that contains the given message plus a pre-fabricated part. Typically the base message is just the array that does not have the right size.- Parameters:
msg
- The base message to userequested
- The required size of the arraygiven
- The supplied array size
-
-