edu.rit.classfile
Class DuplicateSubroutineException

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

public class DuplicateSubroutineException
extends ClassfileException

Class DuplicateSubroutineException encapsulates the exception thrown when a class or interface description contains more than one subroutine (method, constructor, or class initializer) with the same name and descriptor. This error condition is detected when the class's or interface's binary classfile is emitted.

See Also:
Serialized Form

Constructor Summary
DuplicateSubroutineException()
          Construct a new duplicate subroutine exception with no detail message.
DuplicateSubroutineException(String msg)
          Construct a new duplicate subroutine 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

DuplicateSubroutineException

public DuplicateSubroutineException()
Construct a new duplicate subroutine exception with no detail message.


DuplicateSubroutineException

public DuplicateSubroutineException(String msg)
Construct a new duplicate subroutine 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.