private static final long serialVersionUID = 1647209154838034514L;
- public ResourceNotFoundException(ResourceNotFoundException cause) {
- super(cause.getMessage());
- }
-
public ResourceNotFoundException(long id) {
super("Could not find [" + id + "].");
}
public ResourceNotFoundException(long id, Throwable cause) {
- super("Could not find [" + id + "].");
+ super("Could not find [" + id + "].", cause);
}
public ResourceNotFoundException(String uri) {
public ResourceNotFoundException(String uri, Throwable cause) {
super("Could not find <" + uri + ">.", cause);
}
-
- public DatabaseException newStack() {
- return new ResourceNotFoundException(this);
- }
}