Bug 7539

Summary: event driven APIs should support minimal error escape handling
Product: POI Reporter: Andy Oliver <poi-support>
Component: POI OverallAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 2.0-dev   
Target Milestone: ---   
Hardware: Other   
OS: other   

Description Andy Oliver 2002-03-27 20:57:48 UTC
Event driven APIs such as POIFS's and HSSF's need error handling capability.  
Currently if an exception occurs in a listener it has no way of notifying the
caller of an error condition.  

I suggest the listener interface should contain a second method called
"getError" or so that returns a true or false.   This should be called once
after each listener call.  This is needed to support heterogeneous environments
where POI may be used to handle data that may not be valid.
Comment 1 Andy Oliver 2002-04-27 13:36:24 UTC
See patch from Carey Sublette recently applied against the head.
Comment 2 Andy Oliver 2002-04-27 13:36:42 UTC
See patch from Carey Sublette recently applied against the head.