Package org.rundeck.storage.api
Class StorageException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.rundeck.storage.api.StorageException
-
- All Implemented Interfaces:
java.io.Serializable
public class StorageException extends java.lang.RuntimeException
An exception in the storage layer- Since:
- 2014-03-10
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StorageException.Event
-
Constructor Summary
Constructors Constructor Description StorageException(java.lang.String s, java.lang.Throwable throwable, StorageException.Event event, Path path)
StorageException(java.lang.String s, StorageException.Event event, Path path)
StorageException(java.lang.Throwable throwable, StorageException.Event event, Path path)
StorageException(StorageException.Event event, Path path)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
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()
-
-