object Exceptions extends Exceptions
- Alphabetic
- By Inheritance
- Exceptions
- Exceptions
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def catchAll[T, S](a: => T)(f: (Throwable) => S): Either[S, T]
try to evaluate an expression, returning Either
try to evaluate an expression, returning Either
If the expression throws any Throwable a function f is used to return the left value of the Either returned value.
- Definition Classes
- Exceptions
- def catchAllOr[T](a: => T)(f: (Throwable) => T): T
try to evaluate an expression, returning a value T
try to evaluate an expression, returning a value T
If the expression throws a Throwable a function f is used to return a value of the expected type.
- Definition Classes
- Exceptions
- def catchAllOrElse[T](a: => T)(ko: => T): T
try to evaluate an expression, returning a value T
try to evaluate an expression, returning a value T
If the expression throws a Throwable, then return a default value
- Definition Classes
- Exceptions
- def catchAll_Either[T, S](a: => T)(f: (Throwable) => S): Either[S, T]
try to evaluate an expression, returning Either
try to evaluate an expression, returning Either
If the expression throws an Exception a function f is used to return the left value of the Either returned value.
- Definition Classes
- Exceptions
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tryCollect[T](a: => T)(partialFunction: PartialFunction[T, Boolean]): Boolean
try to apply a partial function to a value
try to apply a partial function to a value
- Definition Classes
- Exceptions
- def tryCollectOr[T, S](a: => T, or: S)(partialFunction: PartialFunction[T, S]): S
try to apply a partial function to a value, with a default value if something goes wrong
try to apply a partial function to a value, with a default value if something goes wrong
- Definition Classes
- Exceptions
- def tryMap[T, S](a: => T)(ok: S)(ko: S): S
try to evaluate an expression and return ok if nothing fails.
try to evaluate an expression and return ok if nothing fails. return ko otherwise
- Definition Classes
- Exceptions
- def tryOk[T](a: => T): Boolean
try to evaluate an expression and return true if nothing fails.
try to evaluate an expression and return true if nothing fails. return false otherwise
- Definition Classes
- Exceptions
- def tryOr[T](a: => T)(f: (Throwable) => T): T
try to evaluate an expression, returning a value T
try to evaluate an expression, returning a value T
If the expression throws an Exception a function f is used to return a value of the expected type.
- Definition Classes
- Exceptions
- def tryOrElse[T](a: => T)(ko: T): T
try to evaluate an expression and return it if nothing fails.
try to evaluate an expression and return it if nothing fails. return ko otherwise
- Definition Classes
- Exceptions
- def tryOrNone[T](a: => T): Option[T]
try to evaluate an expression and return it in an Option if nothing fails.
try to evaluate an expression and return it in an Option if nothing fails. return None otherwise
- Definition Classes
- Exceptions
- def try_Either[T, S](a: => T)(f: (Throwable) => S): Either[S, T]
try to evaluate an expression, returning Either
try to evaluate an expression, returning Either
If the expression throws an Exception a function f is used to return the left value of the Either returned value.
- Definition Classes
- Exceptions
- def trye[T, S](a: => T)(f: (Throwable) => S): Either[S, T]
try to evaluate an expression, returning Either
try to evaluate an expression, returning Either
If the expression throws an Exception a function f is used to return the left value of the Either returned value.
- Definition Classes
- Exceptions
- def tryo[T](a: => T): Option[T]
try to evaluate an expression, returning an Option
try to evaluate an expression, returning an Option
The 'tryo' name comes from the lift project: http://liftweb.net
- returns
None if there is an exception, or Some(value)
- Definition Classes
- Exceptions
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated