Sha256: 95014e4dd683b4e6c89404fe2f0c2a6fe7f8c235f34d05e064304546c5d99bcf
Contents?: true
Size: 1.5 KB
Versions: 17
Compression:
Stored size: 1.5 KB
Contents
module VirtualBox # Gem specific exceptions will reside under this namespace for easy # documentation and searching. module Exceptions class Exception < ::Exception; end class NonSettableRelationshipException < Exception; end class ValidationFailedException < Exception; end class MediumLocationInUseException < Exception; end class MediumCreationFailedException < Exception; end class MediumNotUpdatableException < Exception; end class ReadonlyVMStateException < Exception; end class UnsupportedVersionException < Exception; end class FFIException < Exception attr_accessor :data def initialize(data={}) @data = data super("Error in API call to #{data[:function]}: #{data[:result_code]}") end end # FFI Exceptions, these exceptions are only raised on *nix machines # when some error occurs in the foreign function interface. class ObjectNotFoundException < FFIException; end class InvalidVMStateException < FFIException; end class VMErrorException < FFIException; end class FileErrorException < FFIException; end class SubsystemException < FFIException; end class PDMException < FFIException; end class InvalidObjectStateException < FFIException; end class HostErrorException < FFIException; end class NotSupportedException < FFIException; end class XMLErrorException < FFIException; end class InvalidSessionStateException < FFIException; end class ObjectInUseException < FFIException; end end end
Version data entries
17 entries across 17 versions & 3 rubygems