Class InvalidArgumentsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.mosip.kernel.core.exception.BaseUncheckedException
-
- io.mosip.kernel.lkeymanager.exception.InvalidArgumentsException
-
- All Implemented Interfaces:
Serializable
public class InvalidArgumentsException extends BaseUncheckedException
Class to handle invalid arguments exception.- Since:
- 1.0.0
- Author:
- Sagar Mahapatra
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class io.mosip.kernel.core.exception.BaseUncheckedException
EMPTY_SPACE
-
-
Constructor Summary
Constructors Constructor Description InvalidArgumentsException(List<ServiceError> list)Constructor with list as the argument.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ServiceError>getList()Getter for error list.-
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
-
InvalidArgumentsException
public InvalidArgumentsException(List<ServiceError> list)
Constructor with list as the argument.- Parameters:
list- the error list.
-
-
Method Detail
-
getList
public List<ServiceError> getList()
Getter for error list.- Returns:
- The error list.
-
-