|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable
public class Throwable
Base class for exceptions and errors.
Constructor Summary | |
---|---|
Throwable()
constructor: initialize a throwable without detailed message |
|
Throwable(String message)
constructor: initialize a throwable with detailed message |
Method Summary | |
---|---|
String |
getMessage()
get detailed message of current throwable |
void |
printStackTrace()
dumps the stacktrace of current throwable onto display |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, notifyAll, toString, wait |
Constructor Detail |
---|
public Throwable()
public Throwable(String message)
Method Detail |
---|
public String getMessage()
public void printStackTrace()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |