Corrected error in getHeight() (Simon Kaempflein), removed warning method overwrites, added a more specific exception in case getNumPages fails on an encrypted PDF file.