org.netbeans.bootstrap/1 2.52

org.netbeans
Class DuplicateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Method Summary
 Module getNewModule()
          Get the module whose creation was attempted.
 Module getOldModule()
          Get the module which is already known to exist.
 
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
 

Method Detail

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.


org.netbeans.bootstrap/1 2.52

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.