|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
edu.ucla.stat.SOCR.touchgraph.graphlayout.TGException
public class TGException
An class for exceptions thrown during TouchGraph processing.
| Field Summary | |
|---|---|
java.lang.Exception |
exception
The embedded Exception if tunnelling. |
protected int |
id
An int containing an exception type identifier (ID). |
static int |
NODE_DOESNT_EXIST
An exception occurring when a Node doesn't exist. |
static int |
NODE_EXISTS
An exception occurring when a Node already exists. |
static int |
NODE_NO_ID
An exception occurring when a Node is missing its required ID. |
| Constructor Summary | |
|---|---|
TGException(java.lang.Exception exception)
Constructor for TGException tunnelling the original Exception. |
|
TGException(int id)
Constructor for TGException with Exception ID. |
|
TGException(int id,
java.lang.String message)
Constructor for TGException with Exception ID and error message String. |
|
TGException(java.lang.String message)
Constructor for TGException with an error message String. |
|
| Method Summary | |
|---|---|
int |
getId()
If the message was expressed as a MessageId, return the original id (e.g. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int NODE_EXISTS
public static final int NODE_DOESNT_EXIST
public static final int NODE_NO_ID
protected int id
public java.lang.Exception exception
| Constructor Detail |
|---|
public TGException(int id)
id - The unique message identifier.
public TGException(int id,
java.lang.String message)
id - The unique message identifier.message - The Exception message.public TGException(java.lang.String message)
message - The Exception message.public TGException(java.lang.Exception exception)
exception - The original Exception.| Method Detail |
|---|
public int getId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||