Java Reference
In-Depth Information
Note that an exception can only have it's cause set onceeither via a con-
structor, or by a single call to
initCause
any attempt to set it again will
cause an
IllegalStateException
to be thrown.