Last active
December 19, 2015 14:49
-
-
Save daiksy/5972013 to your computer and use it in GitHub Desktop.
ScalaでRuntimeExceptinの派生
This file contains hidden or 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
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