Searched refs:raise (Results 51 - 75 of 723) sorted by relevance

1234567891011>>

/macosx-10.10/ruby-106/ruby/sample/openssl/
H A Dcert2text.rb14 raise ArgumentError.new('Unknown format.')
/macosx-10.10/ruby-106/ruby/test/-ext-/
H A Dtest_bug-5832.rb18 c.new.call_invoke_block_from_c { raise 'unreachable' }
/macosx-10.10/ruby-106/ruby/test/drb/
H A Dut_array.rb7 raise "usage: #{$0} <uri> <name>" unless it
H A Dut_drb_drbunix.rb6 raise "usage: #{$0} <manager-uri> <name>" unless it
H A Dut_safe1.rb7 raise "usage: #{$0} <uri> <name>" unless it
/macosx-10.10/ruby-106/ruby/test/ruby/
H A Dbeginmainend.rb19 #raise if defined?(local_begin1)
20 raise unless defined?($global_begin1)
21 raise unless defined?(::ConstBegin1)
/macosx-10.10/ruby-106/ruby/test/testunit/tests_for_parallel/
H A Dptest_forth.rb19 raise UnknownError, "unknown error"
/macosx-10.10/ruby-106/ruby/lib/rubygems/package/
H A Dold.rb59 raise Gem::Exception, errstr unless header
75 raise Gem::Package::FormatError, "#{full_name} in #{@gem} is corrupt" if
90 raise Gem::Exception, errstr
126 raise Gem::Exception, "Failed to find end of ruby script while reading gem"
157 raise Gem::Exception, "Failed to parse gem specification out of gem file"
160 raise Gem::Exception, "Failed to parse gem specification out of gem file"
170 raise Gem::Security::Exception,
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-core/Modules/objc/test/
H A Dexceptions.m29 [NSException raise:@"SimpleException" format:@"hello world"];
39 NULL]] raise];
45 raise:addSomeUnicode(@"SimpleException")
52 raise:@"SimpleException"
65 NULL]] raise];
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-core-2.5.1/Modules/objc/test/
H A Dexceptions.m29 [NSException raise:@"SimpleException" format:@"hello world"];
39 NULL]] raise];
45 raise:addSomeUnicode(@"SimpleException")
52 raise:@"SimpleException"
65 NULL]] raise];
/macosx-10.10/JavaScriptCore-7600.1.17/offlineasm/
H A Darm.rb37 raise "bad value for $activeBackend: #{$activeBackend}"
48 raise "bad value for $activeBackend: #{$activeBackend}"
55 raise "Bogus register name #{doubleOperand}" unless doubleOperand =~ /^d/
114 raise "Bad register #{name} for ARM at #{codeOriginString}"
135 raise "Bad register #{name} for ARM at #{codeOriginString}"
142 raise "Invalid immediate #{value} at #{codeOriginString}" if value < 0 or value > 255
149 raise "Bad offset at #{codeOriginString}" if offset.value < -0xff or offset.value > 0xfff
156 raise "Bad offset at #{codeOriginString}" if offset.value != 0
163 raise "Unconverted absolute address at #{codeOriginString}"
183 raise "Malforme
[all...]
/macosx-10.10/ruby-106/ruby/lib/minitest/
H A Dmock.rb60 raise ArgumentError, "args ignored when block given" unless args.empty?
63 raise ArgumentError, "args must be an array" unless Array === args
89 raise MockExpectationError, msg2 if
93 raise MockExpectationError, msg1 unless
103 raise NoMethodError, "unmocked method %p, expected one of %p" %
111 raise MockExpectationError, "No more expects available for %p: %p" %
119 raise MockExpectationError, "mocked method %p failed block w/ %p" %
128 raise ArgumentError, "mocked method %p expects %d arguments, got %d" %
137 raise MockExpectationError, "mocked method %p called with unexpected arguments %p" %
/macosx-10.10/dtrace-147/test/tst/common/pid/
H A Dtst.ret1.d49 raise(SIGUSR1);
H A Dtst.ret2.d49 raise(SIGUSR1);
/macosx-10.10/dtrace-147/test/tst/common/speculation/
H A Derr.D_ACT_SPEC.SpeculateWithRaise.d50 raise(9);
/macosx-10.10/ruby-106/ruby/benchmark/
H A Dbm_so_exception.rb49 raise Lo_Exception.new(num)
51 raise Hi_Exception.new(num)
/macosx-10.10/ruby-106/ruby/sample/drb/
H A Ddchatc.rb19 raise 'invalid key' unless @key == there
28 raise "usage" unless (there and name)
H A Dhttp0.rb32 raise(DRbBadScheme, uri) unless uri =~ /^http:/
33 raise(DRbBadURI, 'can\'t parse uri:' + uri)
69 raise TypeError, 'too large packet'
H A Drindac.rb4 uri = ARGV.shift || raise("usage: #{$0} <server_uri>")
H A Dspeedc.rb3 uri = ARGV.shift || raise("usage: #{$0} URI")
/macosx-10.10/ruby-106/ruby/ext/fiddle/
H A Dextconf.rb12 raise "ffi.h is missing. Please install libffi."
17 raise "libffi is missing. Please install libffi."
/macosx-10.10/ruby-106/ruby/ext/json/lib/json/add/
H A Dostruct.rb19 klass.to_s.empty? and raise JSON::JSONError, "Only named structs are supported!"
H A Dstruct.rb18 klass.to_s.empty? and raise JSON::JSONError, "Only named structs are supported!"
/macosx-10.10/ruby-106/ruby/ext/ripper/
H A Dextconf.rb9 raise 'missing bison; abort'
/macosx-10.10/ruby-106/ruby/lib/rexml/
H A Dxpath.rb31 raise "The namespaces argument, if supplied, must be a hash object." unless namespaces.nil? or namespaces.kind_of?(Hash)
32 raise "The variables argument, if supplied, must be a hash object." unless variables.kind_of?(Hash)
60 raise "The namespaces argument, if supplied, must be a hash object." unless namespaces.nil? or namespaces.kind_of?(Hash)
61 raise "The variables argument, if supplied, must be a hash object." unless variables.kind_of?(Hash)

Completed in 212 milliseconds

1234567891011>>