#include <JavaException.h++>


Public Member Functions | |
| JavaException (String message=String::empty) | |
| Construct a new JavaException with an optional cause message. | |
| virtual void | write (std::ostream &stream) const |
| Write a textual representation of the exception to a stream. | |
| String | getMessage () const throw () |
| Get the message associated with the exception. | |
| const char * | what () const throw () |
| Get the message associated with the exception. | |
| String | toString () const |
| Get a textual representation of the exception as a String. | |
Protected Member Functions | |
| void | _write (std::ostream &stream, const char *name) const |
Protected Attributes | |
| String | _message |
| The cause message. | |
| JavaException | ( | String | message = String::empty |
) |
Construct a new JavaException with an optional cause message.
| void _write | ( | std::ostream & | stream, | |
| const char * | name | |||
| ) | const [protected, inherited] |
| String getMessage | ( | ) | const throw () [inline, inherited] |
Get the message associated with the exception.
| String toString | ( | ) | const [inline, inherited] |
Get a textual representation of the exception as a String.
| const char* what | ( | ) | const throw () [inline, inherited] |
Get the message associated with the exception.
| virtual void write | ( | std::ostream & | stream | ) | const [inline, virtual] |
Write a textual representation of the exception to a stream.
Reimplemented from Exception.
Reimplemented in JavaSignatureException, JavaClassNotFoundException, JavaMethodNotFoundException, JavaFieldNotFoundException, JavaInstantiationException, JavaInvocationException, JavaFieldAccessException, JavaArrayAccessException, JavaOutOfMemoryException, JavaMonitorException, JavaThreadException, and JavaNotAttachedException.
1.5.9