Package de.chojo.sqlutil.exceptions
Class ExceptionTransformer
java.lang.Object
de.chojo.sqlutil.exceptions.ExceptionTransformer
Utilitites for database handling
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringprettyException(String message, SQLException ex) Transforms a SQLException in an easy readable string with a message.static StringTransforms a SQLException in an easy readable string with a message.
-
Method Details
-
prettyException
Transforms a SQLException in an easy readable string with a message.- Parameters:
ex- sql exception- Returns:
- input as pretty string
-
prettyException
Transforms a SQLException in an easy readable string with a message.- Parameters:
message- Messageex- sql exception- Returns:
- input as pretty string
-