Skip to content

Instantly share code, notes, and snippets.

@steshaw
Created May 15, 2010 03:50
Show Gist options
  • Save steshaw/401989 to your computer and use it in GitHub Desktop.
Save steshaw/401989 to your computer and use it in GitHub Desktop.
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
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