Why doesn't Writer\Xls\save return anything, but Root\save does? #3676
-
The documentation for saving an xls file states that it returns The xls save method calls the root save method(Shared\OLD\PPS\ROOT\save) which returns It seems there's no way to be sure if the save was successful or not. Is there some way to find out? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The |
Beta Was this translation helpful? Give feedback.
The
save
method for Xls, and for all other Writers, should either succeed or throw an exception. Getting to the next statement is an indication of sucess. The boolean return fromRoot/save
is misleading - it will always returntrue
(if it doesn't throw an exception). Adding a boolean return to Xls/save would be equally misleading.