com.sun.electric.tool.user
Class CantEditException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sun.electric.tool.JobException
              extended by com.sun.electric.tool.user.CantEditException
All Implemented Interfaces:
java.io.Serializable

public class CantEditException
extends JobException

See Also:
Serialized Form

Constructor Summary
CantEditException()
           
 
Method Summary
 int presentProblem()
          Method to describe this CantEditException.
 
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

CantEditException

public CantEditException()
Method Detail

presentProblem

public int presentProblem()
Method to describe this CantEditException. WARNING: method may change the database if the user disables a cell lock, so method must be called inside of a Change job.

Returns:
zero if the operation should be done. Return positive if the user chooses to NOT DO the change. Return negative if the user chooses to NOT DO the change and the overall operation should be cancelled.