org.specs.ExtendedThrowable.ExtendedThrowable

class ExtendedThrowable

class ExtendedThrowable(t : Throwable)

 extends ScalaObject


See the ExtendedThrowable object description


Source: ExtendedThrowable.scala(18)

 Constructors

def this(t : Throwable)

 Fields

classLocation def classLocation
[details]
return
- the class name and the line number where the Throwable was created
String
fullLocation def fullLocation
[details]
return
- the class name, file Name and the line number where the Throwable was created
String
location def location
[details]
return
- the file name and the line number where the Throwable was created
String
printStackTraceToString def printStackTraceToString
[details]
return
- stack trace written using Throwable.printStackTrace()
String
stackToString def stackToString
[details]
return
- the stack trace as a string with where each message is separated by a new line
String

 Methods

!= final def !=(arg0 : Any) Boolean Any
!= final def !=(arg0 : Object) Boolean AnyRef
== final def ==(arg0 : Object) Boolean AnyRef
== final def ==(arg0 : Any) Boolean Any
asInstanceOf final def asInstanceOf[T0] T0 Any
clone protected def clone Object AnyRef
eq final def eq(arg0 : Object) Boolean AnyRef
equals def equals(arg0 : Any) Boolean AnyRef
finalize protected def finalize Unit AnyRef
getClass final def getClass Class[Object] AnyRef
hashCode def hashCode Int AnyRef
hideCallerAndThrow def hideCallerAndThrow(caller : Object)
throw an exception removing all the stack trace elements matching the class name of the caller [details]
param
caller - object used to define the elements to remove
Nothing
hideCallerAndThrow def hideCallerAndThrow(caller : String) Nothing
isInstanceOf final def isInstanceOf[T0] Boolean Any
ne final def ne(arg0 : Object) Boolean AnyRef
notify final def notify Unit AnyRef
notifyAll final def notifyAll Unit AnyRef
removeTracesAsFarAsNameMatches def removeTracesAsFarAsNameMatches(name : String)
remove all traces of this exception until the last line matching name is found
Throwable
removeTracesWhileNameMatches def removeTracesWhileNameMatches(name : String)
remove all traces of this exception until there's a line not matching name
Throwable
stackToString def stackToString(first : String, separator : String, last : String)
[details]
return
- the stack trace with user-specified separators
String
synchronized final def synchronized[T0](arg0 : T0) T0 AnyRef
throwWithStackTraceOf def throwWithStackTraceOf(other : Throwable)
throw an exception using the stacktrace of another one [details]
param
other - other exception whose stacktrace should be used
Nothing
toString def toString String AnyRef
wait final def wait Unit AnyRef
wait final def wait(arg0 : Long) Unit AnyRef
wait final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2007-2009. All Rights Reserved.