org.resthub.common.exception.NotFoundException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of resthub-common Show documentation
Show all versions of resthub-common Show documentation
RESThub core include Embeded datasource, Generic Repository and Generic CRUD services
The newest version!
package org.resthub.common.exception;
/**
* Exception thrown when not result was found (for example findById with null return value)
*/
public class NotFoundException extends RuntimeException {
public NotFoundException() {
super();
}
public NotFoundException(final String message, final Throwable cause) {
super(message, cause);
}
public NotFoundException(final String message) {
super(message);
}
public NotFoundException(final Throwable cause) {
super(cause);
}
}