All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.osamabmaq.tafqeetj.exceptions.NumberOutOfRangeException Maven / Gradle / Ivy

Go to download

A Java library to convert numbers from digital format to words format in Arabic language.

The newest version!
package io.github.osamabmaq.tafqeetj.exceptions;

import java.math.BigDecimal;
import java.math.BigInteger;

public class NumberOutOfRangeException extends RuntimeException {
    public NumberOutOfRangeException(long number) {
        super("Out of range value: " + number);
    }

    public NumberOutOfRangeException(BigInteger number) {
        super("Out of range value: " + number);
    }

    public NumberOutOfRangeException(BigDecimal number) {
        super("Out of range value: " + number.toPlainString());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy