org.hypergraphdb.maintenance
Class MaintenanceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.hypergraphdb.maintenance.MaintenanceException
All Implemented Interfaces:
java.io.Serializable

public class MaintenanceException
extends java.lang.Exception

Represents an exception that occurred during the execution of a MaintenanceOperation. If the fatal flag is set, it means that it is not advisable to try to perform other maintenance operations (e.g. because of low-level DB failure). If the flag is false, it means the maintenance operation failed for some "higher level" reason, but it managed to clean up after itself and other operations can be performed.

Author:
Borislav Iordanov
See Also:
Serialized Form

Constructor Summary
MaintenanceException(boolean fatal, java.lang.String msg)
           
MaintenanceException(boolean fatal, java.lang.String msg, java.lang.Throwable cause)
           
 
Method Summary
 boolean isFatal()
           
 void setFatal(boolean fatal)
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MaintenanceException

public MaintenanceException(boolean fatal,
                            java.lang.String msg)

MaintenanceException

public MaintenanceException(boolean fatal,
                            java.lang.String msg,
                            java.lang.Throwable cause)
Method Detail

isFatal

public boolean isFatal()

setFatal

public void setFatal(boolean fatal)