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(num) ⇒ CPUTypeError
constructor
A new instance of CPUTypeError.
Constructor Details
#initialize(num) ⇒ CPUTypeError
Returns a new instance of CPUTypeError.
29 30 31 |
# File 'lib/macho/exceptions.rb', line 29 def initialize(num) super "Unrecognized CPU type: 0x#{"%02x" % num}" end |