|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
unm.cs351.f11.tdrl.p1.GraphAnalysisException
public class GraphAnalysisException
An exception indicating an error or illegal condition when trying to analyze
a Graph object. This may arise because of a structural error in
the underlying graph, or because an undefined result was requested (such
as the mean outdegree of an empty graph, or other undefined quantity.)
| Constructor Summary | |
|---|---|
GraphAnalysisException()
Construct a default Analysis exception, with no information about why it was generated. |
|
GraphAnalysisException(String msg)
Construct an Analysis exception with an informative message about why it was generated. |
|
GraphAnalysisException(String message,
Throwable cause)
A combination of GraphAnalysisException(String) and
GraphAnalysisException(Throwable) -- generate an exception with
both an informative message and an original root cause. |
|
GraphAnalysisException(Throwable cause)
Construct an Analysis exception that "wraps" another, primary exception. |
|
| Method Summary |
|---|
| 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 |
| Constructor Detail |
|---|
public GraphAnalysisException()
public GraphAnalysisException(String msg)
msg - String describing the cause of the exceptionpublic GraphAnalysisException(Throwable cause)
IOException or somesuch.) You can then generate an
Analysis-oriented exception, but keep a record of why it was generated --
what the root cause was.
cause - Exception that originally caused the whole mess
public GraphAnalysisException(String message,
Throwable cause)
GraphAnalysisException(String) and
GraphAnalysisException(Throwable) -- generate an exception with
both an informative message and an original root cause.
message - String describing the cause of the exceptioncause - Exception that originally caused the whole mess
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||