1: Create error package with EsaException object
This commit is contained in:
20
src/main/java/com/bartek/esa/error/EsaException.java
Normal file
20
src/main/java/com/bartek/esa/error/EsaException.java
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
package com.bartek.esa.error;
|
||||||
|
|
||||||
|
public class EsaException extends RuntimeException {
|
||||||
|
|
||||||
|
public EsaException() {
|
||||||
|
super();
|
||||||
|
}
|
||||||
|
|
||||||
|
public EsaException(String message) {
|
||||||
|
super(message);
|
||||||
|
}
|
||||||
|
|
||||||
|
public EsaException(String message, Throwable cause) {
|
||||||
|
super(message, cause);
|
||||||
|
}
|
||||||
|
|
||||||
|
public EsaException(Throwable cause) {
|
||||||
|
super(cause);
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user