Exception: MachO::CPUSubtypeError

Inherits:
MachOError
  • Object
show all
Defined in:
lib/macho/exceptions.rb

Overview

Raised when the CPU type/sub-type pair is unknown.

Instance Method Summary collapse

Constructor Details

#initialize(cputype, cpusubtype) ⇒ 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