getMessage()

Retrieves the message from the exception object.

Syntax

public String getMessage();
 

Parameters

None.

Return values

A String object that contains the message associated with the exception.

Exceptions

None.

Copyright IBM Corp. 1997, 2003