Class/Object

com.eharmony.aloha.ex

SchrodingerException

Related Docs: object SchrodingerException | package ex

Permalink

final class SchrodingerException extends AlohaException

An exception whose methods, save fillInStackTrace, throw a SchrodingerException. fillInStackTrace returns a SchrodingerException. The implication is that any time you try to use it, it throws an exception. Like Schrodinger's thought experiment, when you peek inside the box, you kill what's inside. This is a juggernaut that will kill a lot of code that most likely won't protect against it.

This should not throw a Throwable at creation time, but creating other Throwables with a SchrodingerException as a cause will most likely throw a Throwable at creation time.

SchrodingerException with a cause that is a SchrodingerException will not throw an exception at creation time.

This is mainly for testing but included as part of main for use in downstream projects.

Linear Supertypes
AlohaException, RuntimeException, Exception, Throwable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SchrodingerException
  2. AlohaException
  3. RuntimeException
  4. Exception
  5. Throwable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SchrodingerException(cause: Throwable)

    Permalink
  2. new SchrodingerException(message: String)

    Permalink
  3. new SchrodingerException()

    Permalink
  4. new SchrodingerException(message: String, cause: Throwable)

    Permalink

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def addSuppressed(arg0: Throwable): Unit

    Permalink
    Definition Classes
    Throwable
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def fillInStackTrace(): SchrodingerException

    Permalink

    This function is special.

    This function is special. If it throws, the creation of this exception throws. So, do the next best thing: return this.

    returns

    this

    Definition Classes
    SchrodingerException → Throwable
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def getCause(): Nothing

    Permalink
    Definition Classes
    SchrodingerException → Throwable
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getLocalizedMessage(): Nothing

    Permalink
    Definition Classes
    SchrodingerException → Throwable
  14. def getMessage(): Nothing

    Permalink
    Definition Classes
    SchrodingerException → Throwable
  15. def getStackTrace(): Nothing

    Permalink
    Definition Classes
    SchrodingerException → Throwable
  16. final def getSuppressed(): Array[Throwable]

    Permalink
    Definition Classes
    Throwable
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. def initCause(cause: Throwable): Nothing

    Permalink
    Definition Classes
    SchrodingerException → Throwable
  19. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def printStackTrace(s: PrintWriter): Nothing

    Permalink
    Definition Classes
    SchrodingerException → Throwable
  24. def printStackTrace(s: PrintStream): Nothing

    Permalink
    Definition Classes
    SchrodingerException → Throwable
  25. def printStackTrace(): Nothing

    Permalink
    Definition Classes
    SchrodingerException → Throwable
  26. def safeToString(): String

    Permalink
  27. def setStackTrace(stackTrace: Array[StackTraceElement]): Nothing

    Permalink
    Definition Classes
    SchrodingerException → Throwable
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): Nothing

    Permalink
    Definition Classes
    SchrodingerException → Throwable → AnyRef → Any
  30. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AlohaException

Inherited from RuntimeException

Inherited from Exception

Inherited from Throwable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped