Throwable getCause()
Often there is only one nested exception, and this method returns it. If there are more than one, then this method returns the first nested exception. If there is no nested exception, then null is returned.
- Return:
- the first or only nested Throwable.
- Since:
- JDO 1.0