16 lines
359 B
Java
16 lines
359 B
Java
|
package io.gitlab.jfronny.gitea.helpdesk.db;
|
||
|
|
||
|
import java.sql.SQLException;
|
||
|
|
||
|
public class UncheckedSQLException extends RuntimeException {
|
||
|
private final SQLException exception;
|
||
|
|
||
|
public UncheckedSQLException(SQLException exception) {
|
||
|
this.exception = exception;
|
||
|
}
|
||
|
|
||
|
public SQLException getException() {
|
||
|
return exception;
|
||
|
}
|
||
|
}
|