com.nicta.scoobi.impl.control

Exceptions

Related Doc: package control

object Exceptions extends Exceptions

Linear Supertypes
Exceptions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Exceptions
  2. Exceptions
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. 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
  6. def catchAllKo[T](a: ⇒ T): Boolean

    returns

    true if a throwable was thrown

    Definition Classes
    Exceptions
  7. def catchAllOk[T](a: ⇒ T): Boolean

    returns

    true if no throwable was thrown

    Definition Classes
    Exceptions
  8. 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
  9. 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
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    AnyRef → Any
  22. def tryKo[T](a: ⇒ T): Boolean

    try to evaluate an expression and return true if there is an exception return false otherwise

    try to evaluate an expression and return true if there is an exception return false otherwise

    Definition Classes
    Exceptions
  23. 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
  24. 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
  25. def tryOr[T](a: ⇒ T)(implicit handler: (Exception) ⇒ 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
  26. 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
  27. def tryOrZero[T](a: ⇒ T)(implicit arg0: Monoid[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 the zero value of the Monoid instance otherwise

    Definition Classes
    Exceptions
  28. def trye[T, S](a: ⇒ T)(implicit f: (Exception) ⇒ 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
  29. 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
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Exceptions

Inherited from AnyRef

Inherited from Any

Ungrouped