Created
May 15, 2010 03:50
-
-
Save steshaw/401989 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
Welcome to Scala version 2.8.0.RC1 (Java HotSpot(TM) Client VM, Java 1.7.0-ea). | |
Type in expressions to have them evaluated. | |
Type :help for more information. | |
scala> new Checked().foo | |
res0: Int = 0 |
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
public class Checked { | |
static class CheckedException extends Exception {} | |
public int foo() throws CheckedException { | |
return 0; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment