-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: JanardhanBS-SyncByte <[email protected]>
- Loading branch information
1 parent
e5bf6cd
commit e7586ff
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
biosdk-client/src/main/java/io/mosip/biosdk/client/exception/BioSdkClientException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package io.mosip.biosdk.client.exception; | ||
|
||
import io.mosip.kernel.core.exception.BaseUncheckedException; | ||
|
||
/** | ||
* Custom Exception Class in case of error occurred in services. | ||
* | ||
* @see io.mosip.kernel.core.exception.BaseUncheckedException | ||
* @author Janardhan B S | ||
* @since 1.0.0 | ||
*/ | ||
public class BioSdkClientException extends BaseUncheckedException { | ||
/** | ||
* Constructor the initialize Handler exception | ||
* | ||
* @param errorCode The error code for this exception | ||
* @param errorMessage The error message for this exception | ||
*/ | ||
public BioSdkClientException(String errorCode, String errorMessage) { | ||
super(errorCode, errorMessage); | ||
} | ||
|
||
/** | ||
* Constructor the initialize Handler exception | ||
* | ||
* @param errorCode The error code for this exception | ||
* @param errorMessage The error message for this exception | ||
* @param rootCause the specified cause | ||
*/ | ||
public BioSdkClientException(String errorCode, String errorMessage, Throwable rootCause) { | ||
super(errorCode, errorMessage, rootCause); | ||
} | ||
} |