case class CATCH(id: Symbol, position: Int, handlerType: Option[ObjectType] = None) extends PseudoInstruction with ExceptionHandlerElement with Product with Serializable
Pseudo instruction marking the handler of a org.opalj.br.ExceptionHandler.
- position
The (relative) position in the final exception handler table. The
CATCH
with the lowest position will be the first exception handler (the handler with the highest priority). Overall the order is just used to sort the handlers and nothing more. The sorting is stable - i.e., two handlers with the same number will end up in the same order in the table. Furthermore, it is possible to use negative numbers to ensure that a (custom) handler has precedence over all handlers found in the initial code; the initial handlers will have ids in the range [0...(number of exception handler)).- handlerType
The type of the handled exception or
None
if all exceptions are handled (finally handler).
- Source
- ExceptionHandlerElement.scala
- See also
- Alphabetic
- By Inheritance
- CATCH
- Serializable
- Product
- Equals
- ExceptionHandlerElement
- PseudoInstruction
- CodeElement
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CATCH(id: Symbol, position: Int, handlerType: Option[ObjectType] = None)
- position
The (relative) position in the final exception handler table. The
CATCH
with the lowest position will be the first exception handler (the handler with the highest priority). Overall the order is just used to sort the handlers and nothing more. The sorting is stable - i.e., two handlers with the same number will end up in the same order in the table. Furthermore, it is possible to use negative numbers to ensure that a (custom) handler has precedence over all handlers found in the initial code; the initial handlers will have ids in the range [0...(number of exception handler)).- handlerType
The type of the handled exception or
None
if all exceptions are handled (finally handler).
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
- final def asPseudoInstruction: PseudoInstruction
- Definition Classes
- PseudoInstruction → CodeElement
- def asTry: TRY
- Definition Classes
- CodeElement
- 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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val handlerType: Option[ObjectType]
- val id: Symbol
- Definition Classes
- CATCH → ExceptionHandlerElement
- final def isCatch: Boolean
- Definition Classes
- CATCH → CodeElement
- final def isControlTransferInstruction: Boolean
- Definition Classes
- PseudoInstruction → CodeElement
- final def isExceptionHandlerElement: Boolean
- Definition Classes
- ExceptionHandlerElement → CodeElement
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def isInstructionLikeElement: Boolean
- Definition Classes
- PseudoInstruction → CodeElement
- def isPCLabel: Boolean
- Definition Classes
- PseudoInstruction
- final def isPseudoInstruction: Boolean
- Definition Classes
- PseudoInstruction → CodeElement
- final def isTry: Boolean
- Definition Classes
- CATCH → CodeElement
- 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()
- val position: Int
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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