Class Exception

java.lang.Object
eu.bandm.tools.lljava.absy.Node
eu.bandm.tools.lljava.absy.Exception
All Implemented Interfaces:
Formattable, Cloneable

@Generated(generator="eu.bandm.tools.umod", version="", timestamp="2026-11-24_22h23m18") public class Exception extends Node
Specification of an exception handler table entry. Instances of this type can either be constructed explicitly, or by the ExceptionTableCollector.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":99.2-11, see this pretty print.)
  • Field Details

  • Constructor Details

    • Exception

      public Exception(GotoInterval range, @Opt ClassReference type, GotoPoint target)
      Constructor defined according to directive »C 0/..«.

      Parameters:
      range - is copied to field range
      type - is copied to field type
      target - is copied to field target
    • Exception

      public Exception(GotoInterval range, GotoPoint target)
      Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.

      Parameters:
      range - is copied to field range
      target - is copied to field target
  • Method Details

    • doclone

      public Exception doclone()
      Clones this object. Method never fails, since Cloneable is known to be implemented.

      Overrides:
      doclone in class Node
      Returns:
      a fresh copy.
    • getFormatHint

      public static String getFormatHint()
      Delivers the format specification from the umod source.
      The constant return value is ..
      'try' range 'catch''('(type?)')' target
      This can be used e.g. by format code interpreters which process objects of different origin.
    • format

      public Format format()
      Delivers a format object for pretty-printing, as specified in the umod source.
      Specified by:
      format in interface Formattable
      Overrides:
      format in class Node
      Returns:
      a format that represents this object in a pretty-printable way
    • initFrom

      public Exception initFrom(Object o0)
      Copies values of all common fields from the argument. All fields of this class definition are copied, iff the argument is of this class. Then the superclass method is invoked with the same argument.
      Overrides:
      initFrom in class Node
    • get_range

      public GotoInterval get_range()
      The range of statements which make up the try{} block.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":432.1-6, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type GotoInterval(never null)
      See Also:
    • set_range

      public boolean set_range(GotoInterval val)
      The range of statements which make up the try{} block.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":432.1-6, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type GotoInterval(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_type

      public @Opt ClassReference get_type()
      The type of the caught Throwable, or null when catching all.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":434.1-5, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type ClassReference(maybe null)
      See Also:
    • set_type

      public boolean set_type(@Opt ClassReference val)
      The type of the caught Throwable, or null when catching all.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":434.1-5, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type ClassReference(maybe null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_target

      public GotoPoint get_target()
      The entry point to the catch(){} code.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":436.1-7, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type GotoPoint(never null)
      See Also:
    • set_target

      public boolean set_target(GotoPoint val)
      The entry point to the catch(){} code.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":436.1-7, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type GotoPoint(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_range

      public static Pattern<Exception> get_range(Pattern<? super GotoInterval> p)
      Lifts a pattern which matches the field value to one which matches this whole object.
      More complex pattern methods are generated in the one ancillary class __Patterns.
    • get_type

      public static Pattern<Exception> get_type(Pattern<? super @Opt ClassReference> p)
      Lifts a pattern which matches the field value to one which matches this whole object.
      More complex pattern methods are generated in the one ancillary class __Patterns.
    • get_target

      public static Pattern<Exception> get_target(Pattern<? super GotoPoint> p)
      Lifts a pattern which matches the field value to one which matches this whole object.
      More complex pattern methods are generated in the one ancillary class __Patterns.