|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Error
org.infoglue.cms.exception.Bug
public class Bug
Thrown to indicate that something completely unexpected has happen. If you ever feel the urge to say "ah, this could never happen, I'll skip testing...", you should probably add the test and throw a Bug if the test fails...
This is an internal error so there is no need to localize the error message.
| Constructor Summary | |
|---|---|
Bug(java.lang.String message)
Construct a Bug with the detailed error message. |
|
Bug(java.lang.String message,
java.lang.Throwable cause)
Construct a Bug with the detailed error message and cause. |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getCause()
Returns the cause of this Bug or null if the cause is nonexistent or unknown. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, 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 Bug(java.lang.String message)
message - the detailed error message.
public Bug(java.lang.String message,
java.lang.Throwable cause)
message - the detailed error message.cause - the throwable that caused this Bug to get thrown.| Method Detail |
|---|
public java.lang.Throwable getCause()
getCause in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||