Update NotFoundException.java

This commit is contained in:
Amitabh Tiwari 2022-07-18 07:25:37 +05:30
parent 9b7f11418e
commit 7f4cae20b0
1 changed files with 1 additions and 6 deletions

View File

@ -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();
}
}