edu.rit.classfile
Class DuplicateFieldException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.rit.classfile.ClassfileException
edu.rit.classfile.DuplicateFieldException
- All Implemented Interfaces:
- Serializable
public class DuplicateFieldException
- extends ClassfileException
Class DuplicateFieldException encapsulates the exception thrown when a class
or interface description contains more than one field 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 |
DuplicateFieldException
public DuplicateFieldException()
- Construct a new duplicate field exception with no detail message.
DuplicateFieldException
public DuplicateFieldException(String msg)
- Construct a new duplicate field 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.