org.netbeans
Class DuplicateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.netbeans.DuplicateException
- All Implemented Interfaces:
- Serializable
public final class DuplicateException
- extends Exception
Exception indicating that a module with a given code name base
is already being managed, and that it is not permitted to add
another with the same name.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
getOldModule
public Module getOldModule()
- Get the module which is already known to exist.
getNewModule
public Module getNewModule()
- Get the module whose creation was attempted.
Warning: this module will be invalid,
so do not attempt to do anything with it beyond asking
it for its version and things like that.