19 lines
483 B
Java
19 lines
483 B
Java
package org.lucares.pdbui;
|
|
|
|
import org.springframework.http.HttpStatus;
|
|
import org.springframework.web.bind.annotation.ResponseStatus;
|
|
|
|
@ResponseStatus(value = HttpStatus.NOT_FOUND)
|
|
public class NotFoundException extends RuntimeException {
|
|
|
|
private static final long serialVersionUID = 694206253376122420L;
|
|
|
|
public NotFoundException(final String message, final Throwable cause) {
|
|
super(message, cause);
|
|
}
|
|
|
|
public NotFoundException(final Throwable cause) {
|
|
super(cause);
|
|
}
|
|
}
|