Skip to content

Commit

Permalink
added calculator Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
anna2390 committed Nov 14, 2012
1 parent 512825b commit a87c14c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/latex/calculator/CalculatorException.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package latex.calculator

class CalculatorException(message: String) extends Exception(message) {
class CalculatorException(message: String, exception: Throwable) extends Exception(message, exception) {

def this(message: String) = this(message, null)
def this(exception: Throwable) = this(null, exception)

}

0 comments on commit a87c14c

Please sign in to comment.