Home
last modified time | relevance | path

Searched refs:Exception (Results 1 - 25 of 1335) sorted by relevance

12345678910>>...54

/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/port/
H A Dexception_type.h30 class Exception : public std::exception { class
32 Exception() : what_("Unknown exception") {} in Exception() function in sfntly::Exception
33 explicit Exception(const char* message) throw() { SetMessage(message); } in Exception() function in sfntly::Exception
34 virtual ~Exception() throw() {} in ~Exception()
48 class IndexOutOfBoundException : public Exception {
50 IndexOutOfBoundException() throw() : Exception("Index out of bound") {} in IndexOutOfBoundException()
52 : Exception(message) {} in IndexOutOfBoundException()
65 class IOException : public Exception {
67 IOException() throw() : Exception("I/O exception") {} in IOException()
68 explicit IOException(const char* message) throw() : Exception(messag in IOException()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/shaping/
H A DArabicShapingRegTest.java97 } catch(Exception e){} in TestShape()
104 } catch(Exception e){} in TestShape()
112 } catch(Exception e){} in TestShape()
117 } catch(Exception e){} in TestShape()
122 } catch(Exception e){} in TestShape()
127 } catch(Exception e){} in TestShape()
134 } catch(Exception e){} in TestShape()
144 } catch(Exception e){} in TestShape()
151 } catch(Exception e){} in TestShape()
160 } catch(Exception in TestShape()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/shaping/
H A DArabicShapingRegTest.java94 } catch(Exception e){} in TestShape()
101 } catch(Exception e){} in TestShape()
109 } catch(Exception e){} in TestShape()
114 } catch(Exception e){} in TestShape()
119 } catch(Exception e){} in TestShape()
124 } catch(Exception e){} in TestShape()
131 } catch(Exception e){} in TestShape()
141 } catch(Exception e){} in TestShape()
148 } catch(Exception e){} in TestShape()
157 } catch(Exception in TestShape()
[all...]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DWireFormatTest.java64 public void testSerialization() throws Exception { in testSerialization()
75 public void testSerializationPacked() throws Exception { in testSerializationPacked()
86 public void testSerializeExtensions() throws Exception { in testSerializeExtensions()
100 public void testSerializePackedExtensions() throws Exception { in testSerializePackedExtensions()
112 public void testSerializationPackedWithoutGetSerializedSize() throws Exception { in testSerializationPackedWithoutGetSerializedSize()
132 public void testParseExtensions() throws Exception { in testParseExtensions()
147 public void testParsePackedExtensions() throws Exception { in testParsePackedExtensions()
159 public void testSerializeDelimited() throws Exception { in testSerializeDelimited()
178 private void assertFieldsInOrder(ByteString data) throws Exception { in assertFieldsInOrder()
194 public void testInterleavedFieldsAndExtensions() throws Exception { in testInterleavedFieldsAndExtensions()
[all...]
H A DMessageTest.java77 public void testParsingWithNullExtensionRegistry() throws Exception { in testParsingWithNullExtensionRegistry()
85 public void testMergeFrom() throws Exception { in testMergeFrom()
95 public void testMergeFromDynamic() throws Exception { in testMergeFromDynamic()
105 public void testDynamicMergeFrom() throws Exception { in testDynamicMergeFrom()
121 public void testRequired() throws Exception { in testRequired()
133 public void testRequiredForeign() throws Exception { in testRequiredForeign()
151 public void testRequiredExtension() throws Exception { in testRequiredExtension()
169 public void testRequiredDynamic() throws Exception { in testRequiredDynamic()
182 public void testRequiredDynamicForeign() throws Exception { in testRequiredDynamicForeign()
203 public void testUninitializedException() throws Exception { in testUninitializedException()
[all...]
H A DTextFormatTest.java157 public void testPrintMessage() throws Exception { in testPrintMessage()
169 public void testPrintMessageBuilder() throws Exception { in testPrintMessageBuilder()
181 public void testPrintExtensions() throws Exception { in testPrintExtensions()
225 public void testPrintUnknownFields() throws Exception { in testPrintUnknownFields()
251 public void testPrintField() throws Exception { in testPrintField()
285 public void testPrintExotic() throws Exception { in testPrintExotic()
324 public void testRoundtripProto3Optional() throws Exception { in testRoundtripProto3Optional()
342 public void testPrintMessageSet() throws Exception { in testPrintMessageSet()
358 public void testMerge() throws Exception { in testMerge()
364 public void testParse() throws Exception { in testParse()
[all...]
H A DWireFormatLiteTest.java63 public void testSerializeExtensionsLite() throws Exception { in testSerializeExtensionsLite()
77 public void testSerializePackedExtensionsLite() throws Exception { in testSerializePackedExtensionsLite()
89 public void testParseExtensionsLite() throws Exception { in testParseExtensionsLite()
105 public void testParsePackedExtensionsLite() throws Exception { in testParsePackedExtensionsLite()
118 public void testSerialization() throws Exception { in testSerialization()
129 public void testSerializationPacked() throws Exception { in testSerializationPacked()
140 public void testSerializeExtensions() throws Exception { in testSerializeExtensions()
154 public void testSerializePackedExtensions() throws Exception { in testSerializePackedExtensions()
166 public void testSerializationPackedWithoutGetSerializedSize() throws Exception { in testSerializationPackedWithoutGetSerializedSize()
186 public void testParseExtensions() throws Exception { in testParseExtensions()
[all...]
H A DCheckUtf8Test.java53 public void testBuildRequiredStringWithGoodUtf8() throws Exception { in testBuildRequiredStringWithGoodUtf8()
58 public void testParseRequiredStringWithGoodUtf8() throws Exception { in testParseRequiredStringWithGoodUtf8()
64 public void testBuildRequiredStringWithBadUtf8() throws Exception { in testBuildRequiredStringWithBadUtf8()
73 public void testBuildOptionalStringWithBadUtf8() throws Exception { in testBuildOptionalStringWithBadUtf8()
82 public void testBuildRepeatedStringWithBadUtf8() throws Exception { in testBuildRepeatedStringWithBadUtf8()
91 public void testParseRequiredStringWithBadUtf8() throws Exception { in testParseRequiredStringWithBadUtf8()
97 public void testBuildRequiredStringWithBadUtf8Size() throws Exception { in testBuildRequiredStringWithBadUtf8Size()
106 public void testBuildOptionalStringWithBadUtf8Size() throws Exception { in testBuildOptionalStringWithBadUtf8Size()
115 public void testBuildRepeatedStringWithBadUtf8Size() throws Exception { in testBuildRepeatedStringWithBadUtf8Size()
124 public void testParseRequiredStringWithBadUtf8Size() throws Exception { in testParseRequiredStringWithBadUtf8Size()
[all...]
H A DParserTest.java55 public void testGeneratedMessageParserSingleton() throws Exception { in testGeneratedMessageParserSingleton()
62 throws Exception { in assertRoundTripEquals()
80 private void assertRoundTripEquals(MessageLite message) throws Exception { in assertRoundTripEquals()
96 private void assertMessageEquals(MessageLite expected, MessageLite actual) throws Exception { in assertMessageEquals()
110 public void testNormalMessage() throws Exception { in testNormalMessage()
115 public void testParsePartial() throws Exception { in testParsePartial()
120 throws Exception { in assertParsePartial()
163 public void testParseExtensions() throws Exception { in testParseExtensions()
167 public void testParsePacked() throws Exception { in testParsePacked()
172 public void testParseDelimitedTo() throws Exception { in testParseDelimitedTo()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A DStringTokenizerTest.java121 } catch (Exception e) { in TestConstructors()
127 } catch (Exception e) { in TestConstructors()
133 } catch (Exception e) { in TestConstructors()
139 } catch (Exception e) { in TestConstructors()
146 } catch (Exception e) { in TestConstructors()
263 } catch (Exception e) { in TestNextNonDelimiterToken()
274 } catch (Exception e) { in TestNextNonDelimiterToken()
288 } catch (Exception e) { in TestNextNonDelimiterToken()
295 } catch (Exception e) { in TestNextNonDelimiterToken()
366 } catch (Exception in TestNextDelimiterToken()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DStringTokenizerTest.java118 } catch (Exception e) { in TestConstructors()
124 } catch (Exception e) { in TestConstructors()
130 } catch (Exception e) { in TestConstructors()
136 } catch (Exception e) { in TestConstructors()
143 } catch (Exception e) { in TestConstructors()
260 } catch (Exception e) { in TestNextNonDelimiterToken()
271 } catch (Exception e) { in TestNextNonDelimiterToken()
285 } catch (Exception e) { in TestNextNonDelimiterToken()
292 } catch (Exception e) { in TestNextNonDelimiterToken()
363 } catch (Exception in TestNextDelimiterToken()
[all...]
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
H A DMessageTest.java80 public void testMergeFrom() throws Exception { in testMergeFrom()
93 public void testMergeFromDynamic() throws Exception { in testMergeFromDynamic()
103 public void testDynamicMergeFrom() throws Exception { in testDynamicMergeFrom()
120 public void testRequired() throws Exception { in testRequired()
132 public void testRequiredForeign() throws Exception { in testRequiredForeign()
150 public void testRequiredExtension() throws Exception { in testRequiredExtension()
168 public void testRequiredDynamic() throws Exception { in testRequiredDynamic()
181 public void testRequiredDynamicForeign() throws Exception { in testRequiredDynamicForeign()
204 public void testUninitializedException() throws Exception { in testUninitializedException()
213 public void testBuildPartial() throws Exception { in testBuildPartial()
[all...]
H A DWireFormatTest.java57 public void testSerialization() throws Exception { in testSerialization()
68 public void testSerializationPacked() throws Exception { in testSerializationPacked()
79 public void testSerializeExtensions() throws Exception { in testSerializeExtensions()
93 public void testSerializePackedExtensions() throws Exception { in testSerializePackedExtensions()
106 throws Exception { in testSerializationPackedWithoutGetSerializedSize()
127 public void testParseExtensions() throws Exception { in testParseExtensions()
143 public void testParsePackedExtensions() throws Exception { in testParsePackedExtensions()
156 public void testExtensionsSerializedSize() throws Exception { in testExtensionsSerializedSize()
161 public void testSerializeDelimited() throws Exception { in testSerializeDelimited()
180 private void assertFieldsInOrder(ByteString data) throws Exception { in assertFieldsInOrder()
[all...]
H A DDynamicMessageTest.java58 public void testDynamicMessageAccessors() throws Exception { in testDynamicMessageAccessors()
66 public void testSettersAfterBuild() throws Exception { in testSettersAfterBuild()
86 public void testUnknownFields() throws Exception { in testUnknownFields()
106 public void testDynamicMessageSettersRejectNull() throws Exception { in testDynamicMessageSettersRejectNull()
112 public void testDynamicMessageExtensionAccessors() throws Exception { in testDynamicMessageExtensionAccessors()
123 public void testDynamicMessageExtensionSettersRejectNull() throws Exception { in testDynamicMessageExtensionSettersRejectNull()
129 public void testDynamicMessageRepeatedSetters() throws Exception { in testDynamicMessageRepeatedSetters()
138 public void testDynamicMessageRepeatedSettersRejectNull() throws Exception { in testDynamicMessageRepeatedSettersRejectNull()
144 public void testDynamicMessageDefaults() throws Exception { in testDynamicMessageDefaults()
151 public void testDynamicMessageSerializedSize() throws Exception { in testDynamicMessageSerializedSize()
[all...]
H A DTextFormatTest.java114 public void testPrintMessage() throws Exception { in testPrintMessage()
126 public void testPrintMessageBuilder() throws Exception { in testPrintMessageBuilder()
138 public void testPrintExtensions() throws Exception { in testPrintExtensions()
181 public void testPrintUnknownFields() throws Exception { in testPrintUnknownFields()
206 public void testPrintField() throws Exception { in testPrintField()
227 private ByteString bytes(String str) throws Exception { in bytes()
244 public void testPrintExotic() throws Exception { in testPrintExotic()
283 public void testPrintMessageSet() throws Exception { in testPrintMessageSet()
299 public void testParse() throws Exception { in testParse()
305 public void testParseReader() throws Exception { in testParseReader()
[all...]
H A DGeneratedMessageTest.java80 public void testDefaultInstance() throws Exception { in testDefaultInstance()
87 public void testMessageOrBuilder() throws Exception { in testMessageOrBuilder()
94 public void testUsingBuilderMultipleTimes() throws Exception { in testUsingBuilderMultipleTimes()
148 public void testRepeatedArraysAreImmutable() throws Exception { in testRepeatedArraysAreImmutable()
166 public void testParsedMessagesAreImmutable() throws Exception { in testParsedMessagesAreImmutable()
206 public void testSettersRejectNull() throws Exception { in testSettersRejectNull()
210 fail("Exception was not thrown"); in testSettersRejectNull()
216 fail("Exception was not thrown"); in testSettersRejectNull()
222 fail("Exception was not thrown"); in testSettersRejectNull()
229 fail("Exception wa in testSettersRejectNull()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/stringprep/
H A DTestStringPrep.java120 }catch(Exception e){ in TestNFS4MixedPrep()
132 }catch(Exception e){ in TestNFS4MixedPrep()
144 Exception expected = testCase.expected; in TestCISPrep()
152 }catch(Exception e){ in TestCISPrep()
168 }catch(Exception e){ in TestCSPrep()
181 }catch(Exception e){ in TestCSPrep()
194 }catch(Exception e){ in TestCSPrep()
206 }catch(Exception e){ in TestCSPrep()
228 } catch(Exception e){ in TestGetInstance()
238 } catch(Exception in TestGetInstance()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
H A DTestStringPrep.java117 }catch(Exception e){ in TestNFS4MixedPrep()
129 }catch(Exception e){ in TestNFS4MixedPrep()
141 Exception expected = testCase.expected; in TestCISPrep()
149 }catch(Exception e){ in TestCISPrep()
165 }catch(Exception e){ in TestCSPrep()
178 }catch(Exception e){ in TestCSPrep()
191 }catch(Exception e){ in TestCSPrep()
203 }catch(Exception e){ in TestCSPrep()
225 } catch(Exception e){ in TestGetInstance()
235 } catch(Exception in TestGetInstance()
[all...]
/third_party/lzma/Java/SevenZip/
H A DLzmaAlone.java71 public boolean Parse(String[] args) throws Exception in Parse()
164 public static void main(String[] args) throws Exception in main()
187 throw new Exception("Unsupported match finder"); in main()
205 throw new Exception("Incorrect compression mode"); in main()
207 throw new Exception("Incorrect dictionary size"); in main()
209 throw new Exception("Incorrect -fb value"); in main()
211 throw new Exception("Incorrect -mf value"); in main()
213 throw new Exception("Incorrect -lc or -lp or -pb value"); in main()
230 throw new Exception("input .lzma file is too short"); in main()
233 throw new Exception("Incorrec in main()
[all...]
/third_party/python/Lib/test/
H A Dtest_exception_variations.py11 raise Exception('nyaa!')
46 raise Exception('yarr!')
73 raise Exception('ahoy!')
94 raise Exception('foo!')
134 raise Exception('inner exception')
161 raise Exception('outer exception')
184 raise Exception('inner exception')
187 raise Exception('outer exception')
217 raise Exception('outer exception')
248 raise Exception('oute
[all...]
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
H A DPhoneNumberMatcherTest.java36 public void testContainsMoreThanOneSlashInNationalNumber() throws Exception { in testContainsMoreThanOneSlashInNationalNumber()
81 public void testFindNationalNumber() throws Exception { in testFindNationalNumber()
105 public void testFindWithInternationalPrefixes() throws Exception { in testFindWithInternationalPrefixes()
128 public void testFindWithLeadingZero() throws Exception { in testFindWithLeadingZero()
135 public void testFindNationalNumberArgentina() throws Exception { in testFindNationalNumberArgentina()
155 public void testFindWithXInNumber() throws Exception { in testFindWithXInNumber()
168 public void testFindNumbersMexico() throws Exception { in testFindNumbersMexico()
181 public void testFindNumbersWithPlusWithNoRegion() throws Exception { in testFindNumbersWithPlusWithNoRegion()
190 public void testFindExtensions() throws Exception { in testFindExtensions()
218 public void testFindInterspersedWithSpace() throws Exception { in testFindInterspersedWithSpace()
[all...]
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DGPBUtil.php102 throw new \Exception("Expect utf-8 encoding.");
116 throw new \Exception("Expect integer.");
133 throw new \Exception("Expect integer.");
151 throw new \Exception("Expect integer.");
164 throw new \Exception("Expect integer.");
173 throw new \Exception("Expect float.");
182 throw new \Exception("Expect float.");
189 throw new \Exception("Expect boolean.");
197 throw new \Exception("Expect $klass.");
204 throw new \Exception("Expec
[all...]
/third_party/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
H A DConverterPerformanceTest.java29 public static void main(String[] args) throws Exception { in main()
54 } catch(Exception ex){ in setup()
71 }catch(Exception e){ in TestFromUnicodeStream()
90 }catch(Exception e){ in TestToUnicodeStream()
112 }catch(Exception e){
121 }catch(Exception e){
138 }catch(Exception e){
147 }catch(Exception e){
164 }catch(Exception e){
173 }catch(Exception
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
H A DTestReorder.java130 } catch (Exception e) { in testReorder()
136 } catch (Exception e) { in testReorder()
154 } catch (Exception e) { in testReorder()
161 } catch (Exception e) { in testReorder()
179 } catch (Exception e) { in testReorder()
186 } catch (Exception e) { in testReorder()
208 } catch (Exception e) { in testReorder()
215 } catch (Exception e) { in testReorder()
235 } catch (Exception e) { in testReorder()
242 } catch (Exception in testReorder()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bidi/
H A DTestReorder.java133 } catch (Exception e) { in testReorder()
139 } catch (Exception e) { in testReorder()
157 } catch (Exception e) { in testReorder()
164 } catch (Exception e) { in testReorder()
182 } catch (Exception e) { in testReorder()
189 } catch (Exception e) { in testReorder()
211 } catch (Exception e) { in testReorder()
218 } catch (Exception e) { in testReorder()
238 } catch (Exception e) { in testReorder()
245 } catch (Exception in testReorder()
[all...]

Completed in 15 milliseconds

12345678910>>...54