|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.ourgrid.common.exception.OurgridException
public class OurgridException
This class is the Mother-Exception of the MyGrid. The idea is to use its subclasses to signal that some problem with MyGrid-semantic has occured. For instance, problems when creating Playpen or Storage, since both are concepts defined by MyGrid.
Constructor Summary | |
---|---|
OurgridException()
Constructs a new MyGridException object |
|
OurgridException(java.lang.String message)
Constructs a new MyGridException object |
|
OurgridException(java.lang.String message,
java.lang.Throwable newDetail)
Constructs a new MyGridException object |
|
OurgridException(java.lang.Throwable newDetail)
Constructs a new MyGridException object |
Method Summary | |
---|---|
java.lang.String |
getMessage()
|
java.lang.StackTraceElement[] |
getStackTrace()
|
void |
printStackTrace()
|
void |
printStackTrace(java.io.PrintStream ps)
|
void |
printStackTrace(java.io.PrintWriter pw)
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OurgridException()
public OurgridException(java.lang.Throwable newDetail)
newDetail
- an object that specifies the exception detailspublic OurgridException(java.lang.String message)
message
- a string representing the exception messagepublic OurgridException(java.lang.String message, java.lang.Throwable newDetail)
message
- a string representing the exception messagenewDetail
- an object that specifies the exception detailsMethod Detail |
---|
public java.lang.StackTraceElement[] getStackTrace()
getStackTrace
in class java.lang.Throwable
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter pw)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream ps)
printStackTrace
in class java.lang.Throwable
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |