Exception: MachO::CPUSubtypeError
- Inherits:
-
MachOError
- Object
- RuntimeError
- MachOError
- MachO::CPUSubtypeError
- Defined in:
- lib/macho/exceptions.rb
Overview
Raised when the CPU type/sub-type pair is unknown.
Instance Method Summary collapse
-
#initialize(cputype, cpusubtype) ⇒ CPUSubtypeError
constructor
A new instance of CPUSubtypeError.
Constructor Details
#initialize(cputype, cpusubtype) ⇒ CPUSubtypeError
Returns a new instance of CPUSubtypeError.
107 108 109 110 |
# File 'lib/macho/exceptions.rb', line 107 def initialize(cputype, cpusubtype) super "Unrecognized CPU sub-type: 0x%08<cpusubtype>x " \ "(for CPU type: 0x%08<cputype>x" % { :cputype => cputype, :cpusubtype => cpusubtype } end |