Package es.bsc.dataclay.exceptions
Class DataClayRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- es.bsc.dataclay.exceptions.DataClayException
-
- es.bsc.dataclay.exceptions.DataClayRuntimeException
-
- All Implemented Interfaces:
DataClaySerializable
,Serializable
public class DataClayRuntimeException extends DataClayException implements DataClaySerializable
This class represents the exceptions produced.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataClayRuntimeException()
Empty constructor used for deserialization.DataClayRuntimeException(ErrorDefs.ERRORCODE theerrorCode)
DataClayRuntimeException constructorDataClayRuntimeException(ErrorDefs.ERRORCODE theerrorCode, String theexceptionMessage, boolean extendedMsg)
DataClayRuntimeException constructor
-
Method Summary
-
Methods inherited from class es.bsc.dataclay.exceptions.DataClayException
asGrpcException, deserialize, equals, getErrorcode, getLocalizedMessage, hashCode, printStackTrace, serialize, setErrorCode, setExceptionMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface es.bsc.dataclay.serialization.DataClaySerializable
deserialize, serialize
-
-
-
-
Constructor Detail
-
DataClayRuntimeException
public DataClayRuntimeException()
Empty constructor used for deserialization.
-
DataClayRuntimeException
public DataClayRuntimeException(ErrorDefs.ERRORCODE theerrorCode)
DataClayRuntimeException constructor- Parameters:
theerrorCode
- The error code
-
DataClayRuntimeException
public DataClayRuntimeException(ErrorDefs.ERRORCODE theerrorCode, String theexceptionMessage, boolean extendedMsg)
DataClayRuntimeException constructor- Parameters:
theerrorCode
- The error codetheexceptionMessage
- The exception messageextendedMsg
- Whether to show and extended msg (with stack trace) or not
-
-