j3d.org Code

org.j3d.geom
Class InvalidArraySizeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.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
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.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidArraySizeException

public InvalidArraySizeException(int requested,
                                 int given)
Create an exception that contains a prefabricated message.

Parameters:
requested - The required size of the array
given - 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 use
requested - The required size of the array
given - The supplied array size

j3d.org Code

Latest Info from http://code.j3d.org/
Copyright © 2001 - j3d.org