Hi Bruno, thanks for implementing the feature:
SF Tracker / Feature request 2282587: introduction of some typed exceptions that are thrown when reading a PDF file. Instead of just throwing an IOException, you now get a BaddPasswordException, InvalidPdfException or UnsupportedPdfException. However i have a question to your implementation. If i open a password protected PDF file (User password protected) then i get a: InvalidPdfException: Bad user password Especially for this case i needed the typed exceptions for - however i would expect a BadPasswordException: Bad user password and not the InvalidPdfException - since it is a totally valid pdf but a bad password (in this case none or emtpy). Thanks, ToM ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
