Exception: MachO::CPUTypeError

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

Overview

Raised when the CPU type is unknown.

Instance Method Summary collapse

Constructor Details

#initialize(cputype) ⇒ CPUTypeError

Returns a new instance of CPUTypeError.

Parameters:

  • cputype (Integer)

    the unknown CPU type



98
99
100
# File 'lib/macho/exceptions.rb', line 98

def initialize(cputype)
  super "Unrecognized CPU type: 0x%08<cputype>x" % { :cputype => cputype }
end