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(num) ⇒ CPUTypeError

Returns a new instance of CPUTypeError.

Parameters:

  • num (Fixnum)

    the unknown number



31
32
33
# File 'lib/macho/exceptions.rb', line 31

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