|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.gcube.contentmanagement.storagelayer.StorageLayerException
public class StorageLayerException
Exception as of the semantic level of Storage Layer
Constructor Summary | |
---|---|
StorageLayerException(java.lang.String message,
java.lang.Throwable cause,
java.lang.String subsystem)
Constructs a new exception |
Method Summary | |
---|---|
java.lang.String |
getInvalidValue()
Returns the value that was invalid (if any) |
java.lang.String |
getInvalidValueName()
Returns the name of the value that was invalid (if any) |
java.lang.String |
getSubSystem()
Returns the subsystem that caused the exception |
boolean |
isInvalidValue()
Indicates whether the an invalid value caused the problem |
boolean |
isMissingObject()
Indicates whether the a missing object caused the problem |
boolean |
objectNotFound()
Indicates whether the an object was not found. |
boolean |
resolvableByEquivalentInstance()
Indicates whether a subsequent call to an equivalent instance with same parameters might have more luck |
boolean |
resolvableBySameInstance()
Indicates whether a subsequent call to the same instance with same parameters might have more luck |
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 |
---|
public StorageLayerException(java.lang.String message, java.lang.Throwable cause, java.lang.String subsystem)
message
- human-readable message about what went wrongcause
- the (underlying) exception that caused the exceptionsubsystem
- the name of the subsystem that failedMethod Detail |
---|
public java.lang.String getSubSystem()
public boolean isInvalidValue()
public boolean isMissingObject()
public boolean resolvableBySameInstance()
public boolean resolvableByEquivalentInstance()
public java.lang.String getInvalidValue()
null
, if no such
invalid valuepublic java.lang.String getInvalidValueName()
null
, if
no such invalid valuepublic boolean objectNotFound()
getInvalidValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |