Skip to content

Instantly share code, notes, and snippets.

@daiksy
Last active December 19, 2015 14:49
Embed
What would you like to do?
ScalaでRuntimeExceptinの派生
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