org.millscript.commons.vfs.alerts
Class VEntryNotFoundAlert

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.millscript.commons.alert.Alert
                  extended by org.millscript.commons.alert.alerts.IOAlert
                      extended by org.millscript.commons.vfs.alerts.VFSAlert
                          extended by org.millscript.commons.vfs.alerts.VEntryNotFoundAlert
All Implemented Interfaces:
java.io.Serializable

public class VEntryNotFoundAlert
extends VFSAlert

This class implements an Alert for use in situations like where a FileNotFoundException has been thrown, or when a virtual filesystem entry cannot be found.

See Also:
Serialized Form

Constructor Summary
  VEntryNotFoundAlert()
          Constructs a new virtual file not found alert with no explanation.
  VEntryNotFoundAlert(java.lang.String exp)
          Constructs a new virtual file not found alert with the specified explanation.
protected VEntryNotFoundAlert(java.lang.String comp, java.lang.String exp)
          Constructs a new alert with the specified complaint and explanation.
 
Method Summary
 VEntryNotFoundAlert culpritEntry(java.lang.String entryName)
           
static org.millscript.commons.alert.Alert entryDoesNotExist()
           
static org.millscript.commons.alert.Alert entryDoesNotExist(java.lang.String entryName)
           
static org.millscript.commons.alert.Alert entryDoesNotExist(VEntry entry)
           
static org.millscript.commons.alert.Alert entryIsNotAFile(java.lang.String entryName)
           
static org.millscript.commons.alert.Alert entryIsNotAFile(VEntry entry)
           
static org.millscript.commons.alert.Alert entryIsNotAFileOrFolder(java.lang.String entryName)
           
static org.millscript.commons.alert.Alert entryIsNotAFileOrFolder(VEntry entry)
           
static org.millscript.commons.alert.Alert entryIsNotAFolder(java.lang.String entryName)
           
static org.millscript.commons.alert.Alert entryIsNotAFolder(VEntry entry)
           
 
Methods inherited from class org.millscript.commons.alert.alerts.IOAlert
culpritFile, culpritURI, unexpectedEndOfFile
 
Methods inherited from class org.millscript.commons.alert.Alert
culprit, culprit, culprit, culprit, culprit, culprit, culprit, culprit, decorate, decorate, escape, getComplaint, getCulprits, getMessage, getParentAlert, getParentThrowable, getPhase, getReason, isMishap, mishap, origin, remishap, report, setParentAlert, setParentThrowable, setPhase, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VEntryNotFoundAlert

public VEntryNotFoundAlert()
Constructs a new virtual file not found alert with no explanation.


VEntryNotFoundAlert

public VEntryNotFoundAlert(java.lang.String exp)
Constructs a new virtual file not found alert with the specified explanation.

Parameters:
exp - the explanation for the alert

VEntryNotFoundAlert

protected VEntryNotFoundAlert(java.lang.String comp,
                              java.lang.String exp)
Constructs a new alert with the specified complaint and explanation. This constructor is for private use, to allow us to provide an exception hierarchy.

Parameters:
comp - the alerts complaint
exp - the explanation for the alert
Method Detail

culpritEntry

public VEntryNotFoundAlert culpritEntry(java.lang.String entryName)

entryDoesNotExist

public static org.millscript.commons.alert.Alert entryDoesNotExist()

entryDoesNotExist

public static org.millscript.commons.alert.Alert entryDoesNotExist(java.lang.String entryName)

entryDoesNotExist

public static org.millscript.commons.alert.Alert entryDoesNotExist(VEntry entry)

entryIsNotAFile

public static org.millscript.commons.alert.Alert entryIsNotAFile(java.lang.String entryName)

entryIsNotAFile

public static org.millscript.commons.alert.Alert entryIsNotAFile(VEntry entry)

entryIsNotAFileOrFolder

public static org.millscript.commons.alert.Alert entryIsNotAFileOrFolder(java.lang.String entryName)

entryIsNotAFileOrFolder

public static org.millscript.commons.alert.Alert entryIsNotAFileOrFolder(VEntry entry)

entryIsNotAFolder

public static org.millscript.commons.alert.Alert entryIsNotAFolder(java.lang.String entryName)

entryIsNotAFolder

public static org.millscript.commons.alert.Alert entryIsNotAFolder(VEntry entry)


Copyright © 2005-2007 Open World Ltd. All Rights Reserved.