edu.rit.classfile
Class DuplicateSubroutineException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.rit.classfile.ClassfileException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.