Exception: MachO::CPUSubtypeError
- Inherits:
-
MachOError
- Object
- RuntimeError
- MachOError
- MachO::CPUSubtypeError
- Defined in:
- lib/macho/exceptions.rb
Overview
raised when the CPU subtype is unknown
Instance Method Summary collapse
-
#initialize(num) ⇒ CPUSubtypeError
constructor
A new instance of CPUSubtypeError.
Constructor Details
#initialize(num) ⇒ CPUSubtypeError
Returns a new instance of CPUSubtypeError.
36 37 38 |
# File 'lib/macho/exceptions.rb', line 36 def initialize(num) super "Unrecognized CPU sub-type: 0x#{"%02x" % num}" end |