Trait

org.opalj.ai.domain

RecordAllThrownExceptions

Related Doc: package domain

Permalink

trait RecordAllThrownExceptions extends RecordThrownExceptions

Records all exceptions thrown by a method. I.e., for each instruction that throws an exception (or multiple exceptions) all exceptions are recorded.

Self Type
RecordAllThrownExceptions with ValuesDomain with Configuration with ExceptionsFactory
Note

This domain is only effective if the calculation of joins is fast. Otherwise it can significantly hamper overall performance!

,

This domain requires that DomainValues that represent thrown exceptions have meaningful equals and hashCode methods. (Depending on the purpose of the abstract interpretation, reference equality may be sufficient.)

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RecordAllThrownExceptions
  2. RecordThrownExceptions
  3. ReturnInstructionsDomain
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type ThrownException = Set[(RecordAllThrownExceptions.this)#ExceptionValue]

    Permalink

    This type determines in which way thrown exceptions are recorded.

    This type determines in which way thrown exceptions are recorded.

    For example, if you want to collect all thrown exceptions, then the type of ThrownException could be Set[ThrownException].

    Definition Classes
    RecordAllThrownExceptionsRecordThrownExceptions
    See also

    The implementation of org.opalj.ai.domain.RecordLastReturnedValues. It follows the same pattern.

    The implementation of org.opalj.ai.domain.RecordAllThrownExceptions.

Abstract Value Members

  1. abstract def areturn(pc: PC, value: (RecordAllThrownExceptions.this)#DomainValue): Computation[Nothing, (RecordAllThrownExceptions.this)#ExceptionValue]

    Permalink

    The given value, which is a value with computational type reference, is returned by the return instruction with the given pc.

    The given value, which is a value with computational type reference, is returned by the return instruction with the given pc.

    Definition Classes
    ReturnInstructionsDomain
  2. abstract def dreturn(pc: PC, value: (RecordAllThrownExceptions.this)#DomainValue): Computation[Nothing, (RecordAllThrownExceptions.this)#ExceptionValue]

    Permalink

    The given value, which is a value with computational type double, is returned by the return instruction with the given pc.

    The given value, which is a value with computational type double, is returned by the return instruction with the given pc.

    Definition Classes
    ReturnInstructionsDomain
  3. abstract def freturn(pc: PC, value: (RecordAllThrownExceptions.this)#DomainValue): Computation[Nothing, (RecordAllThrownExceptions.this)#ExceptionValue]

    Permalink

    The given value, which is a value with computational type float, is returned by the return instruction with the given pc.

    The given value, which is a value with computational type float, is returned by the return instruction with the given pc.

    Definition Classes
    ReturnInstructionsDomain
  4. abstract def ireturn(pc: PC, value: (RecordAllThrownExceptions.this)#DomainValue): Computation[Nothing, (RecordAllThrownExceptions.this)#ExceptionValue]

    Permalink

    The given value, which is a value with computational type integer, is returned by the return instruction with the given pc.

    The given value, which is a value with computational type integer, is returned by the return instruction with the given pc.

    Definition Classes
    ReturnInstructionsDomain
  5. abstract def lreturn(pc: PC, value: (RecordAllThrownExceptions.this)#DomainValue): Computation[Nothing, (RecordAllThrownExceptions.this)#ExceptionValue]

    Permalink

    The given value, which is a value with computational type long, is returned by the return instruction with the given pc.

    The given value, which is a value with computational type long, is returned by the return instruction with the given pc.

    Definition Classes
    ReturnInstructionsDomain
  6. abstract def returnVoid(pc: PC): Computation[Nothing, (RecordAllThrownExceptions.this)#ExceptionValue]

    Permalink

    Called when a return instruction with the given pc is reached.

    Called when a return instruction with the given pc is reached. In other words, when the method returns normally.

    Definition Classes
    ReturnInstructionsDomain

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordAllThrownExceptions to any2stringadd[RecordAllThrownExceptions] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (RecordAllThrownExceptions, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordAllThrownExceptions to ArrowAssoc[RecordAllThrownExceptions] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def abruptMethodExecution(pc: PC, exception: (RecordAllThrownExceptions.this)#ExceptionValue): Unit

    Permalink

    Called by the abstract interpreter when an exception is thrown that is not (guaranteed to be) handled within the same method.

    Called by the abstract interpreter when an exception is thrown that is not (guaranteed to be) handled within the same method.

    Definition Classes
    RecordThrownExceptionsReturnInstructionsDomain
    Note

    If the original exception value is null (/*E.g.*/throw null;), then the exception that is actually thrown is a new NullPointerException. This situation is, however, completely handled by OPAL and the exception value is hence never null.

  7. def allThrownExceptions: Map[PC, (RecordAllThrownExceptions.this)#ThrownException]

    Permalink
    Definition Classes
    RecordThrownExceptions
  8. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def ensuring(cond: (RecordAllThrownExceptions) ⇒ Boolean, msg: ⇒ Any): RecordAllThrownExceptions

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordAllThrownExceptions to Ensuring[RecordAllThrownExceptions] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (RecordAllThrownExceptions) ⇒ Boolean): RecordAllThrownExceptions

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordAllThrownExceptions to Ensuring[RecordAllThrownExceptions] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): RecordAllThrownExceptions

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordAllThrownExceptions to Ensuring[RecordAllThrownExceptions] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): RecordAllThrownExceptions

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordAllThrownExceptions to Ensuring[RecordAllThrownExceptions] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordAllThrownExceptions to StringFormat[RecordAllThrownExceptions] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  21. def joinThrownExceptions(pc: PC, previouslyThrownException: (RecordAllThrownExceptions.this)#ThrownException, value: (RecordAllThrownExceptions.this)#ExceptionValue): (RecordAllThrownExceptions.this)#ThrownException

    Permalink

    Joins the previously thrown exception(s) and the newly thrown exception.

    Joins the previously thrown exception(s) and the newly thrown exception. Both exceptions are thrown by the same instruction (same pc).

    Attributes
    protected[this]
    Definition Classes
    RecordAllThrownExceptionsRecordThrownExceptions
    Note

    The instruction might be an athrow instruction or some other instruction that throws an exception.

    See also

    For details study the documentation of the abstract type ThrownException and study the subclass(es) of RecordThrownExceptions.

  22. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def recordThrownException(pc: PC, value: (RecordAllThrownExceptions.this)#ExceptionValue): (RecordAllThrownExceptions.this)#ThrownException

    Permalink

    Wraps the given value into a ThrownException.

    Wraps the given value into a ThrownException.

    pc

    The program counter of the instruction that throws the exception. It is automatically stored in the map that associates instructions with the exceptions that are thrown.

    Attributes
    protected[this]
    Definition Classes
    RecordAllThrownExceptionsRecordThrownExceptions
    See also

    For details study the documentation of the abstract type ThrownException and study the subclass(es) of RecordThrownExceptions.

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def [B](y: B): (RecordAllThrownExceptions, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordAllThrownExceptions to ArrowAssoc[RecordAllThrownExceptions] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from RecordThrownExceptions

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from RecordAllThrownExceptions to any2stringadd[RecordAllThrownExceptions]

Inherited by implicit conversion StringFormat from RecordAllThrownExceptions to StringFormat[RecordAllThrownExceptions]

Inherited by implicit conversion Ensuring from RecordAllThrownExceptions to Ensuring[RecordAllThrownExceptions]

Inherited by implicit conversion ArrowAssoc from RecordAllThrownExceptions to ArrowAssoc[RecordAllThrownExceptions]

Ungrouped