Class SaltGeneratorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.mosip.kernel.core.exception.BaseUncheckedException
-
- io.mosip.kernel.core.saltgenerator.exception.SaltGeneratorException
-
- All Implemented Interfaces:
Serializable
public class SaltGeneratorException extends BaseUncheckedException
The Class SaltGeneratorException.- Author:
- Manoj SP
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class io.mosip.kernel.core.exception.BaseUncheckedException
EMPTY_SPACE
-
-
Constructor Summary
Constructors Constructor Description SaltGeneratorException()Instantiates a new SaltGeneratorException.SaltGeneratorException(SaltGeneratorErrorConstants exceptionConstant)Instantiates a new SaltGeneratorException.SaltGeneratorException(SaltGeneratorErrorConstants exceptionConstant, String operation)Instantiates a new SaltGeneratorException.SaltGeneratorException(SaltGeneratorErrorConstants exceptionConstant, Throwable rootCause)Instantiates a new SaltGeneratorException.SaltGeneratorException(SaltGeneratorErrorConstants exceptionConstant, Throwable rootCause, String operation)Instantiates a new SaltGeneratorException.SaltGeneratorException(String errorCode, String errorMessage)Instantiates a new SaltGeneratorException.SaltGeneratorException(String errorCode, String errorMessage, String operation)Instantiates a new SaltGeneratorException.SaltGeneratorException(String errorCode, String errorMessage, Throwable rootCause)Instantiates a new SaltGeneratorException.SaltGeneratorException(String errorCode, String errorMessage, Throwable rootCause, String operation)Instantiates a new SaltGeneratorException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetOperation()Gets the operation.-
Methods inherited from class io.mosip.kernel.core.exception.BaseUncheckedException
addInfo, getCodes, getErrorCode, getErrorText, getErrorTexts, getMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SaltGeneratorException
public SaltGeneratorException()
Instantiates a new SaltGeneratorException.
-
SaltGeneratorException
public SaltGeneratorException(String errorCode, String errorMessage)
Instantiates a new SaltGeneratorException.- Parameters:
errorCode- the error codeerrorMessage- the error message
-
SaltGeneratorException
public SaltGeneratorException(String errorCode, String errorMessage, Throwable rootCause)
Instantiates a new SaltGeneratorException.- Parameters:
errorCode- the error codeerrorMessage- the error messagerootCause- the root cause
-
SaltGeneratorException
public SaltGeneratorException(SaltGeneratorErrorConstants exceptionConstant)
Instantiates a new SaltGeneratorException.- Parameters:
exceptionConstant- the exception constant
-
SaltGeneratorException
public SaltGeneratorException(SaltGeneratorErrorConstants exceptionConstant, Throwable rootCause)
Instantiates a new SaltGeneratorException.- Parameters:
exceptionConstant- the exception constantrootCause- the root cause
-
SaltGeneratorException
public SaltGeneratorException(String errorCode, String errorMessage, String operation)
Instantiates a new SaltGeneratorException.- Parameters:
errorCode- the error codeerrorMessage- the error messageoperation- the operation
-
SaltGeneratorException
public SaltGeneratorException(String errorCode, String errorMessage, Throwable rootCause, String operation)
Instantiates a new SaltGeneratorException.- Parameters:
errorCode- the error codeerrorMessage- the error messagerootCause- the root causeoperation- the operation
-
SaltGeneratorException
public SaltGeneratorException(SaltGeneratorErrorConstants exceptionConstant, String operation)
Instantiates a new SaltGeneratorException.- Parameters:
exceptionConstant- the exception constantoperation- the operation
-
SaltGeneratorException
public SaltGeneratorException(SaltGeneratorErrorConstants exceptionConstant, Throwable rootCause, String operation)
Instantiates a new SaltGeneratorException.- Parameters:
exceptionConstant- the exception constantrootCause- the root causeoperation- the operation
-
-
Method Detail
-
getOperation
public String getOperation()
Gets the operation.- Returns:
- the operation
-
-