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



73
74
75
# File 'lib/macho/exceptions.rb', line 73

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