Skip to content

Instantly share code, notes, and snippets.

Last active December 19, 2015 14:49
What would you like to do?
class MyException(message: String, cause: Throwable) extends RuntimeException(message, cause) {
def this() = this(null, null)
def this(message: String) = this(message, null)
def this(cause: Throwable) = this(null, cause)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment