# File lib/rbvmomi/basic_types.rb, line 264
  def exception
    RbVmomi::Fault.new(self.localizedMessage, self.fault)
  end