ObjectDB ObjectDB

Throwable(message) - Java Throwable's constructor

Constructor
java.lang.Throwable
Throwable(
  String message
)

Constructs a new throwable with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.

The fillInStackTrace() method is called to initialize the stack trace data in the newly created throwable.

Parameters:
message - the detail message. The detail message is saved for later retrieval by the getMessage() method.
Since:
Java JDK1.0