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.
39 40 41 |
# File 'lib/macho/exceptions.rb', line 39 def initialize(num) super "Unrecognized CPU sub-type: 0x#{"%02x" % num}" end |