Depend on different exception type
This commit is contained in:
parent
dfa1fc3ecc
commit
09113207ed
@ -1,6 +1,6 @@
|
||||
package it.cavallium.dbengine.client;
|
||||
|
||||
public class SnapshotException extends RuntimeException {
|
||||
public class SnapshotException extends IllegalStateException {
|
||||
|
||||
public SnapshotException(Throwable ex) {
|
||||
super(ex);
|
||||
|
@ -1,6 +1,6 @@
|
||||
package it.cavallium.dbengine.database.serialization;
|
||||
|
||||
public class SerializationException extends RuntimeException {
|
||||
public class SerializationException extends IllegalStateException {
|
||||
|
||||
public SerializationException() {
|
||||
super();
|
||||
|
@ -1,8 +1,9 @@
|
||||
package it.cavallium.dbengine.utils;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.UncheckedIOException;
|
||||
|
||||
public class DBException extends RuntimeException {
|
||||
public class DBException extends IllegalStateException {
|
||||
|
||||
public DBException(String message) {
|
||||
super(message);
|
||||
|
Loading…
Reference in New Issue
Block a user