public static class LLJava.Exception extends LLJava.Node
ExceptionTableCollector
. Modifier and Type | Field and Description |
---|---|
protected LLJava.GotoInterval |
range
The range of statements which make up the
try{} block. |
protected LLJava.GotoPoint |
target
The entry point to the
catch(){} code. |
protected LLJava.ClassReference |
type
The type of the caught
Throwable , or null
when catching all. |
location
format
Constructor and Description |
---|
Exception(LLJava.GotoInterval range,
LLJava.ClassReference type,
LLJava.GotoPoint target)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Exception(LLJava.GotoInterval range,
LLJava.GotoPoint target)
Synthetic minimal constructor provided by the umod compiler.
|
Modifier and Type | Method and Description |
---|---|
LLJava.Exception |
doclone()
Clones this object.
|
Format |
format()
Delivers a format object for pretty-printing, as specified in the umod source.
|
LLJava.GotoInterval |
get_range()
The range of statements which make up the
try{} block. |
static Pattern<LLJava.Exception> |
get_range(Pattern<? super LLJava.GotoInterval> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
LLJava.GotoPoint |
get_target()
The entry point to the
catch(){} code. |
static Pattern<LLJava.Exception> |
get_target(Pattern<? super LLJava.GotoPoint> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
LLJava.ClassReference |
get_type()
The type of the caught
Throwable , or null
when catching all. |
static Pattern<LLJava.Exception> |
get_type(Pattern<? super LLJava.ClassReference> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
static String |
getFormatHint()
Delivers the format specification from the umod source.
|
LLJava.Exception |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
boolean |
set_range(LLJava.GotoInterval val)
The range of statements which make up the
try{} block. |
boolean |
set_target(LLJava.GotoPoint val)
The entry point to the
catch(){} code. |
boolean |
set_type(LLJava.ClassReference val)
The type of the caught
Throwable , or null
when catching all. |
get_location, get_location, set_location
protected LLJava.GotoInterval range
try{}
block. LLJava.GotoInterval
(never null)protected LLJava.ClassReference type
Throwable
, or null
when catching all. LLJava.ClassReference
(maybe
null)protected LLJava.GotoPoint target
catch(){}
code.
LLJava.GotoPoint
(never null)public Exception(LLJava.GotoInterval range, LLJava.ClassReference type, LLJava.GotoPoint target)
public Exception(LLJava.GotoInterval range, LLJava.GotoPoint target)
public LLJava.Exception doclone()
Cloneable
is known
to be implemented.doclone
in class LLJava.Node
public static String getFormatHint()
'try' range
'catch''('(type?)')' target
public Format format()
format
in interface Formattable
format
in class LLJava.Node
public LLJava.Exception initFrom(Object o0)
initFrom
in class LLJava.Node
public LLJava.GotoInterval get_range()
try{}
block. LLJava.GotoInterval
(never
null)public boolean set_range(LLJava.GotoInterval val)
try{}
block. val
- the new value of type LLJava.GotoInterval
(never
null)range
public LLJava.ClassReference get_type()
Throwable
, or null
when catching all. LLJava.ClassReference
(maybe
null)public boolean set_type(LLJava.ClassReference val)
Throwable
, or null
when catching all. val
- the new value of type LLJava.ClassReference
(maybe
null)type
public LLJava.GotoPoint get_target()
catch(){}
code.
LLJava.GotoPoint
(never
null)public boolean set_target(LLJava.GotoPoint val)
catch(){}
code.
val
- the new value of type LLJava.GotoPoint
(never null)target
public static Pattern<LLJava.Exception> get_range(Pattern<? super LLJava.GotoInterval> p)
LLJava.__Patterns
.public static Pattern<LLJava.Exception> get_type(Pattern<? super LLJava.ClassReference> p)
LLJava.__Patterns
.public static Pattern<LLJava.Exception> get_target(Pattern<? super LLJava.GotoPoint> p)
LLJava.__Patterns
.see also the complete user documentation .