[prev in list] [next in list] [prev in thread] [next in thread] 

List:       poi-dev
Subject:    Re: POI stability
From:       Nick Burch <nick.burch () alfresco ! com>
Date:       2010-07-18 11:27:10
Message-ID: alpine.DEB.1.10.1007181225420.2517 () urchin ! earth ! li
[Download RAW message or body]

On Fri, 16 Jul 2010, Zhang Zhang wrote:
> Can we have a mode in POI that customer can handle the exceptions 
> themself? Or has a parameter to control the behavior when exceptions 
> happened?

try {
 	// POI Stuff
} catch(Throwable t) {
 	// Handle
}

?

Generally, there are two ways to get POI to throw an exception. One is to 
ask it to do something clearly silly. You can avoid these by not asking it 
to do silly things... The other is to feed it a broken file. You can avoid 
this by not giving it broken files...!

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic