summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/text-mode/scala-mode/throw
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/snippets/text-mode/scala-mode/throw')
-rw-r--r--emacs.d/snippets/text-mode/scala-mode/throw4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/scala-mode/throw b/emacs.d/snippets/text-mode/scala-mode/throw
new file mode 100644
index 0000000..f9a4932
--- /dev/null
+++ b/emacs.d/snippets/text-mode/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