edu.rit.classfile
Class ListFullException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by edu.rit.classfile.ClassfileException
              extended by edu.rit.classfile.ListFullException
All Implemented Interfaces:
Serializable

public class ListFullException
extends ClassfileException

Class ListFullException encapsulates the exception thrown when a list is full and an attempt is made to add another item to the list. In the case of a SynthesizedClassDescription, this includes the superinterface list, field list, subroutine list, and constant pool. In the case of a SynthesizedSubroutineDescription, this includes the argument list, thrown exception list, instruction list, and exception handler list. The ListFullException's detail message says which list was full.

See Also:
Serialized Form

Constructor Summary
ListFullException()
          Construct a new list full exception with no detail message.
ListFullException(String msg)
          Construct a new list full exception with the given detail message.
 
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

ListFullException

public ListFullException()
Construct a new list full exception with no detail message.


ListFullException

public ListFullException(String msg)
Construct a new list full exception with the given detail message.

Parameters:
msg - Detail message.


Copyright © 2001-2006 by Alan Kaminsky. All rights reserved. Send comments to ark­@­cs.rit.edu.