Exception: MachO::CPUTypeError
- Inherits:
-
MachOError
- Object
- RuntimeError
- MachOError
- MachO::CPUTypeError
- Defined in:
- lib/macho/exceptions.rb
Overview
Raised when the CPU type is unknown.
Instance Method Summary collapse
-
#initialize(cputype) ⇒ CPUTypeError
constructor
A new instance of CPUTypeError.
Constructor Details
#initialize(cputype) ⇒ CPUTypeError
Returns a new instance of CPUTypeError.
73 74 75 |
# File 'lib/macho/exceptions.rb', line 73 def initialize(cputype) super "Unrecognized CPU type: 0x#{"%08x" % cputype}" end |