Exception: HexaPDF::EncryptionError
- Defined in:
- lib/hexapdf/error.rb
Overview
Raised when there are problems while encrypting or decrypting a document.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#pdf_object ⇒ Object
The PDF object that caused the problem.
Instance Method Summary collapse
-
#message ⇒ Object
:nodoc:.
Instance Attribute Details
#pdf_object ⇒ Object
The PDF object that caused the problem. May not be set in case of general problems unrelated to a specific PDF object.
74 75 76 |
# File 'lib/hexapdf/error.rb', line 74 def pdf_object @pdf_object end |
Instance Method Details
#message ⇒ Object
:nodoc:
76 77 78 |
# File 'lib/hexapdf/error.rb', line 76 def # :nodoc: pdf_object ? "Object (#{pdf_object.oid},#{pdf_object.gen}): #{super}" : super end |