Update NotFoundException.java
This commit is contained in:
parent
9b7f11418e
commit
7f4cae20b0
|
@ -2,11 +2,6 @@ package com.baeldung.cloud.openfeign.exception;
|
|||
|
||||
public class NotFoundException extends Exception {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public NotFoundException() {
|
||||
}
|
||||
|
||||
public NotFoundException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
@ -17,7 +12,7 @@ public class NotFoundException extends Exception {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "NotFoundException: "+getMessage();
|
||||
return "NotFoundException: " + getMessage();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue