ObjectDB ObjectDB

getCause() - JDO JDOException's method

Method
javax.jdo.JDOException
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.
Returns:
the first or only nested Throwable.
Since:
JDO 1.0.1