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