mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-17 23:04:07 +01:00
added constructor for DatabaseException(ex)
Former-commit-id: 63b28cecfd5ce5b83ac3353aec0c3c74709532ed
This commit is contained in:
@@ -39,13 +39,22 @@ public class DatabaseException extends Exception {
|
|||||||
super(msg);
|
super(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates an DatabaseException.
|
||||||
|
*
|
||||||
|
* @param ex the cause of the exception
|
||||||
|
*/
|
||||||
|
public DatabaseException(Throwable ex) {
|
||||||
|
super(ex);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates an DatabaseException.
|
* Creates an DatabaseException.
|
||||||
*
|
*
|
||||||
* @param msg the exception message
|
* @param msg the exception message
|
||||||
* @param ex the cause of the exception
|
* @param ex the cause of the exception
|
||||||
*/
|
*/
|
||||||
public DatabaseException(String msg, Exception ex) {
|
public DatabaseException(String msg, Throwable ex) {
|
||||||
super(msg, ex);
|
super(msg, ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user