|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException net.sf.qualitytest.exception.BlueprintException
public class BlueprintException
Constructor Summary | |
---|---|
BlueprintException()
Constructs a BlueprintException with the default message DEFAULT_MESSAGE . |
|
BlueprintException(String msg)
Constructs a BlueprintException with a message. |
|
BlueprintException(String msg,
Throwable cause)
Constructs a BlueprintException with a message. |
|
BlueprintException(Throwable cause)
Constructs a new exception with the default message DEFAULT_MESSAGE . |
Method Summary | |
---|---|
String |
getMessage()
|
BlueprintSession |
getSession()
Access the BlueprintSession during which the exception has occurred. |
void |
setSession(BlueprintSession session)
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, 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 BlueprintException()
BlueprintException
with the default message DEFAULT_MESSAGE
.
public BlueprintException(String msg)
BlueprintException
with a message.
msg
- A message describing the error.public BlueprintException(String msg, Throwable cause)
BlueprintException
with a message.
msg
- A message describing the error.cause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method). (A
null
value is permitted, and indicates that the cause is nonexistent or unknown.)public BlueprintException(@Nullable Throwable cause)
DEFAULT_MESSAGE
.
cause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method). (A
null
value is permitted, and indicates that the cause is nonexistent or unknown.)Method Detail |
---|
public String getMessage()
getMessage
in class Throwable
@Nullable public BlueprintSession getSession()
BlueprintSession
during which the exception has occurred.
BlueprintSession
public void setSession(BlueprintSession session)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |