com.scalar.dl.ledger.exception.InvalidJsonException Maven / Gradle / Ivy
package com.scalar.dl.ledger.exception;
import com.scalar.dl.ledger.error.ScalarDlError;
import com.scalar.dl.ledger.service.StatusCode;
public class InvalidJsonException extends LedgerException {
public InvalidJsonException(String message) {
super(message, StatusCode.RUNTIME_ERROR);
}
public InvalidJsonException(String message, Throwable cause) {
super(message, cause, StatusCode.RUNTIME_ERROR);
}
public InvalidJsonException(ScalarDlError error, Throwable cause, Object... args) {
super(error.buildMessage(args), cause, error.getStatusCode());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy