org.rundeck.storage.api
Class StorageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.rundeck.storage.api.StorageException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
StorageAuthorizationException

public class StorageException
extends java.lang.RuntimeException

An exception in the storage layer

Since:
2014-03-10
See Also:
Serialized Form

Nested Class Summary
static class StorageException.Event
           
 
Constructor Summary
StorageException(StorageException.Event event, Path path)
           
StorageException(java.lang.String s, StorageException.Event event, Path path)
           
StorageException(java.lang.String s, java.lang.Throwable throwable, StorageException.Event event, Path path)
           
StorageException(java.lang.Throwable throwable, StorageException.Event event, Path path)
           
 
Method Summary
static StorageException createException(Path path, java.lang.String message)
           
static StorageException createException(Path path, java.lang.String message, java.lang.Throwable cause)
           
static StorageException deleteException(Path path, java.lang.String message)
           
static StorageException deleteException(Path path, java.lang.String message, java.lang.Throwable cause)
           
 StorageException.Event getEvent()
           
 Path getPath()
           
static StorageException listException(Path path, java.lang.String message)
           
static StorageException listException(Path path, java.lang.String message, java.lang.Throwable cause)
           
static StorageException readException(Path path, java.lang.String message)
           
static StorageException readException(Path path, java.lang.String message, java.lang.Throwable cause)
           
static StorageException updateException(Path path, java.lang.String message)
           
static StorageException updateException(Path path, java.lang.String message, java.lang.Throwable cause)
           
 
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

StorageException

public StorageException(StorageException.Event event,
                        Path path)

StorageException

public StorageException(java.lang.String s,
                        StorageException.Event event,
                        Path path)

StorageException

public StorageException(java.lang.String s,
                        java.lang.Throwable throwable,
                        StorageException.Event event,
                        Path path)

StorageException

public StorageException(java.lang.Throwable throwable,
                        StorageException.Event event,
                        Path path)
Method Detail

readException

public static StorageException readException(Path path,
                                             java.lang.String message)

readException

public static StorageException readException(Path path,
                                             java.lang.String message,
                                             java.lang.Throwable cause)

updateException

public static StorageException updateException(Path path,
                                               java.lang.String message)

updateException

public static StorageException updateException(Path path,
                                               java.lang.String message,
                                               java.lang.Throwable cause)

createException

public static StorageException createException(Path path,
                                               java.lang.String message)

createException

public static StorageException createException(Path path,
                                               java.lang.String message,
                                               java.lang.Throwable cause)

deleteException

public static StorageException deleteException(Path path,
                                               java.lang.String message)

deleteException

public static StorageException deleteException(Path path,
                                               java.lang.String message,
                                               java.lang.Throwable cause)

listException

public static StorageException listException(Path path,
                                             java.lang.String message)

listException

public static StorageException listException(Path path,
                                             java.lang.String message,
                                             java.lang.Throwable cause)

getEvent

public StorageException.Event getEvent()

getPath

public Path getPath()