Skip to content

Commit

Permalink
[MOSIP-33324]
Browse files Browse the repository at this point in the history
Signed-off-by: JanardhanBS-SyncByte <[email protected]>
  • Loading branch information
JanardhanBS-SyncByte committed May 27, 2024
1 parent e5bf6cd commit e7586ff
Showing 1 changed file with 33 additions and 0 deletions.
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);
}
}

0 comments on commit e7586ff

Please sign in to comment.