ExceptionTag

gapt.utils.ExceptionTag
trait ExceptionTag[T]

Allows to tag an exception with additional debugging data. It could be used as follows:

if (isBad( element ) ) throw new Exception with ExceptionTag[Element] { tag = element }

and be used in a try pattern match on the command-line.

Attributes

Source
ExceptionTag.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract fields

val tag: T

Attributes

Source
ExceptionTag.scala