Created
April 29, 2016 02:16
-
-
Save luksrn/da4de7e07e090a92f3e9f017bd1fe140 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.demo | |
trait DatabaseExceptionHandler { | |
def handleSQLException(SQLException e) { | |
// manipular SQLException | |
} | |
def handleBatchUpdateException(BatchUpdateException e) { | |
// manipular BatchUpdateException | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment