Package com.emc.d2fs.exceptions
Class D2fsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.emc.d2fs.exceptions.D2fsException
- All Implemented Interfaces:
Serializable
D2 service exception
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionD2fsException
(String message) Creates a new D2FSException object.D2fsException
(String message, D2fsException.TYPE type) D2fsException
(String message, D2fsException.TYPE type, Throwable e) D2fsException
(String errorCode, String message) D2fsException
(String errorCode, String message, D2fsException.TYPE type, Throwable e) D2fsException
(String errorCode, String message, D2fsException.TYPE type, Throwable e, Object[] args) D2fsException
(String message, Throwable e) Creates a new D2FSException object.D2fsException
(Throwable e, D2fsException.TYPE type) -
Method Summary
Modifier and TypeMethodDescriptionObject[]
getArgs()
getType()
boolean
boolean
isInfo()
boolean
Object[]
void
setErrorCode
(String errorCode) void
setType
(D2fsException.TYPE type) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
D2fsException
Creates a new D2FSException object.- Parameters:
message
- String value of error message
-
D2fsException
-
D2fsException
-
D2fsException
-
D2fsException
public D2fsException(String errorCode, String message, D2fsException.TYPE type, Throwable e, Object[] args) -
D2fsException
Creates a new D2FSException object.- Parameters:
e
- Throwable
-
D2fsException
-
D2fsException
-
D2fsException
-
-
Method Details
-
setType
-
getType
-
isWarning
public boolean isWarning() -
isFailure
public boolean isFailure() -
isInfo
public boolean isInfo() -
getErrorCode
-
setErrorCode
-
getArgs
-
setArgs
-