Class DriverException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.clonecloudstore.driver.api.exception.DriverException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DriverAlreadyExistException,DriverNotAcceptableException,DriverNotFoundException
Exception raised by the driver: Generic error (meaning 400 or 500 in HTTP) for any not specialized errors
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDriverException(String message) DriverException(String message, Throwable cause) DriverException(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic DriverExceptiongetDriverExceptionFromStatus(int status, Exception e) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DriverException
-
DriverException
-
DriverException
-
-
Method Details
-
cleanMessage
-
getDriverExceptionFromStatus
-