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

com.aeontronix.commons.exception.InvalidStateException Maven / Gradle / Ivy

Go to download

Various utility classes. Except for very rare exceptions (annotation-based validation) this will not require any dependencies beyond the JRE

The newest version!
/*
 * Copyright (c) 2014 Kloudtek Ltd
 */

package com.aeontronix.commons.exception;

/**
 * This exception indicates that an application state (data in memory or some other kind of storage backend like a
 * database) is in an unexpected and invalid state
 */
public class InvalidStateException extends RuntimeException {
    private static final long serialVersionUID = 6233488148149076609L;

    public InvalidStateException() {
    }

    public InvalidStateException(String detailMessage) {
        super(detailMessage);
    }

    public InvalidStateException(String detailMessage, Throwable throwable) {
        super(detailMessage, throwable);
    }

    public InvalidStateException(Throwable throwable) {
        super(throwable);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy