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

de.yourinspiration.jexpresso.exception.NotFoundException Maven / Gradle / Ivy

Go to download

A java web framework inspired by expressjs to build java web application with minimal effort

There is a newer version: 1.4.2
Show newest version
package de.yourinspiration.jexpresso.exception;

/**
 * Represents a HTTP 404 status.
 *
 * @author Marcel Härle
 */
public class NotFoundException extends HttpStatusException {

    public static final int STATUS = 404;
    public static final String DEFAULT_MSG = "Not found";
    private static final long serialVersionUID = -2906328483151240449L;

    public NotFoundException() {
        super(STATUS, DEFAULT_MSG);
    }

    public NotFoundException(final Throwable cause) {
        super(STATUS, DEFAULT_MSG, cause);
    }

    public NotFoundException(final String msg) {
        super(STATUS, msg);
    }

    public NotFoundException(final String msg, final Throwable cause) {
        super(STATUS, msg, cause);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy