| Modifier and Type | Class and Description |
|---|---|
| public static class | CatchHandlerList.
Entry in the list. |
| Modifier and Type | Field and Description |
|---|---|
| public static final CatchHandlerList | EMPTY
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if this instance ends with a "catch-all"
handler or false if notReturns whether or not this instance ends with a "catch-all" handler. |
| public int | compareTo(CatchHandlerList
the object to be compared. other)Implements java. |
| public CatchHandlerList. | Returns: non-null; element at that index>= 0, < size(); which indexGets the element at the given index. |
| public void | |
| public void | set(int
>= 0, < size(); which indexnon-null; the entry to set at nSets the entry at the given index. |
| public String | toHuman()
Overrides org. Implements org. |
| public String |
| EMPTY | back to summary |
|---|---|
| public static final CatchHandlerList EMPTY
| |
| CatchHandlerList | back to summary |
|---|---|
| public CatchHandlerList(int size) Constructs an instance. All indices initially contain
| |
| catchesAll | back to summary |
|---|---|
| public boolean catchesAll() Returns whether or not this instance ends with a "catch-all" handler.
| |
| compareTo | back to summary |
|---|---|
| public int compareTo(CatchHandlerList other) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| get | back to summary |
|---|---|
| public CatchHandlerList. Gets the element at the given index. It is an error to call
this with the index for an element which was never set; if you
do that, this will throw
| |
| set | back to summary |
|---|---|
| public void set(int n, CstType exceptionType, int handler) Sets the entry at the given index.
| |
| set | back to summary |
|---|---|
| public void set(int n, CatchHandlerList. Sets the entry at the given index.
| |
| toHuman | back to summary |
|---|---|
| public String toHuman() Overrides org. Implements org. Doc from org. Return the "human" string form of this instance. This is
generally less "debuggy" than
| |
| toHuman | back to summary |
|---|---|
| public String toHuman(String prefix, String header) Get the human form of this instance, prefixed on each line with the string. | |
| Modifier and Type | Field and Description |
|---|---|
| private final CstType | exceptionType
|
| private final int | handler
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(CatchHandlerList.
the object to be compared. otherImplements java. |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| public CstType | |
| public int | |
| public int |
| exceptionType | back to summary |
|---|---|
| private final CstType exceptionType
| |
| handler | back to summary |
|---|---|
| private final int handler
| |
| Entry | back to summary |
|---|---|
| public Entry(CstType exceptionType, int handler) Constructs an instance.
| |
| compareTo | back to summary |
|---|---|
| public int compareTo(CatchHandlerList. Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getExceptionType | back to summary |
|---|---|
| public CstType getExceptionType() Gets the exception type handled.
| |
| getHandler | back to summary |
|---|---|
| public int getHandler() Gets the handler address.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |