summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/scala-mode/throw
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/lisp/yasnippet/snippets/scala-mode/throw')
-rw-r--r--emacs.d/lisp/yasnippet/snippets/scala-mode/throw4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/scala-mode/throw b/emacs.d/lisp/yasnippet/snippets/scala-mode/throw
new file mode 100644
index 0000000..f9a4932
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/scala-mode/throw
@@ -0,0 +1,4 @@
+#Author : Jonas Bonèr <jonas@jonasboner.com>
+#name : throw new Exception
+# --
+throw new ${1:Exception}(${2:msg}) $0 \ No newline at end of file