Exception: Pdfrb::ObjectReferenceError
- Defined in:
- lib/pdfrb/error.rb
Overview
An indirect reference could not be resolved (dangling pointer, wrong generation, free list, corrupt xref entry).
Instance Attribute Summary collapse
-
#gen ⇒ Object
readonly
Returns the value of attribute gen.
-
#oid ⇒ Object
readonly
Returns the value of attribute oid.
Instance Method Summary collapse
-
#initialize(message, oid: nil, gen: nil) ⇒ ObjectReferenceError
constructor
A new instance of ObjectReferenceError.
Constructor Details
#initialize(message, oid: nil, gen: nil) ⇒ ObjectReferenceError
Returns a new instance of ObjectReferenceError.
74 75 76 77 78 |
# File 'lib/pdfrb/error.rb', line 74 def initialize(, oid: nil, gen: nil) @oid = oid @gen = gen super() end |
Instance Attribute Details
#gen ⇒ Object (readonly)
Returns the value of attribute gen.
72 73 74 |
# File 'lib/pdfrb/error.rb', line 72 def gen @gen end |
#oid ⇒ Object (readonly)
Returns the value of attribute oid.
72 73 74 |
# File 'lib/pdfrb/error.rb', line 72 def oid @oid end |