This flashcard is just one of a free flashcard set. See all flashcards!
35
JDBC Fehlerbehanldung
-JDBC-Methoden müssen immer in try & catch construkt
try {
// Aufruf von JDBC-Methoden
...
} catch (SQLException exc) {
System.out.println("SQLException: "+
exc.getMessage());
}
try {
// Aufruf von JDBC-Methoden
...
} catch (SQLException exc) {
System.out.println("SQLException: "+
exc.getMessage());
}