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



76
77
78
# File 'lib/macho/exceptions.rb', line 76

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