Package eu.bandm.tools.lljava.absy
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
(This definition has been created by UMod from
the source at SYSTEM "LLJava.umod":99.2-11, see this pretty
print.)ExceptionTableCollector.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected GotoIntervalThe range of statements which make up thetry{}block.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":432.1-6, see this pretty print.)
The type of this field isGotoInterval(nevernull)
It is set by every possible constructor.
protected GotoPointThe entry point to thecatch(){}code.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":436.1-7, see this pretty print.)
The type of this field isGotoPoint(nevernull)
It is set by every possible constructor.
protected @Opt ClassReferenceThe type of the caughtThrowable, 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.)
The type of this field isClassReference(maybenull)
Its value defaults tonull.
-
Constructor Summary
ConstructorsConstructorDescriptionException(GotoInterval range, @Opt ClassReference type, GotoPoint target) Constructor defined according to directive »C 0/..«.
Exception(GotoInterval range, GotoPoint target) Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.
-
Method Summary
Modifier and TypeMethodDescriptiondoclone()Clones this object.format()Delivers a format object for pretty-printing, as specified in the umod source.The range of statements which make up thetry{}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.get_range(Pattern<? super GotoInterval> p) Lifts a pattern which matches the field value to one which matches this whole object.The entry point to thecatch(){}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.get_target(Pattern<? super GotoPoint> p) Lifts a pattern which matches the field value to one which matches this whole object.get_type()The type of the caughtThrowable, 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.get_type(Pattern<? super @Opt ClassReference> p) Lifts a pattern which matches the field value to one which matches this whole object.static StringDelivers the format specification from the umod source.Copies values of all common fields from the argument.booleanset_range(GotoInterval val) The range of statements which make up thetry{}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.booleanset_target(GotoPoint val) The entry point to thecatch(){}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.booleanset_type(@Opt ClassReference val) The type of the caughtThrowable, 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.Methods inherited from class eu.bandm.tools.lljava.absy.Node
get_location, get_location, set_location
-
Field Details
-
range
The range of statements which make up the(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":432.1-6, see this pretty print.)try{}block.
The type of this field isGotoInterval(nevernull)
It is set by every possible constructor.
- See Also:
-
type
The type of the caught(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":434.1-5, see this pretty print.)Throwable, or null when catching all.
The type of this field isClassReference(maybenull)
Its value defaults tonull.
- See Also:
-
target
The entry point to the(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":436.1-7, see this pretty print.)catch(){}code.
The type of this field isGotoPoint(nevernull)
It is set by every possible constructor.
- See Also:
-
-
Constructor Details
-
Exception
Constructor defined according to directive »C 0/..«.
-
Exception
Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.
-
-
Method Details
-
doclone
-
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
Delivers a format object for pretty-printing, as specified in the umod source.- Specified by:
formatin interfaceFormattable- Overrides:
formatin classNode- Returns:
- a format that represents this object in a pretty-printable way
-
initFrom
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. -
get_range
The range of statements which make up the(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":432.1-6, see this pretty print.)try{}block.
Generated getter method.- Returns:
- The current field value of type
GotoInterval(nevernull) - See Also:
-
set_range
The range of statements which make up the(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":432.1-6, see this pretty print.)try{}block.
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeGotoInterval(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_type
The type of the caught(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":434.1-5, see this pretty print.)Throwable, or null when catching all.
Generated getter method.- Returns:
- The current field value of type
ClassReference(maybenull) - See Also:
-
set_type
The type of the caught(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":434.1-5, see this pretty print.)Throwable, or null when catching all.
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeClassReference(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_target
The entry point to the(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":436.1-7, see this pretty print.)catch(){}code.
Generated getter method.- Returns:
- The current field value of type
GotoPoint(nevernull) - See Also:
-
set_target
The entry point to the(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":436.1-7, see this pretty print.)catch(){}code.
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeGotoPoint(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_range
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
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
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.
-