Exception: MachO::CPUSubtypeError

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

Overview

Raised when the CPU subtype is unknown.

Instance Method Summary collapse

Constructor Details

#initialize(num) ⇒ CPUSubtypeError

Returns a new instance of CPUSubtypeError.

Parameters:

  • num (Fixnum)

    the unknown number



39
40
41
# File 'lib/macho/exceptions.rb', line 39

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