Home
last modified time | relevance | path

Searched refs:IllegalStateException (Results 1 – 25 of 1836) sorted by relevance

12345678910>>...74

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DExpression.java91 throw new IllegalStateException(f("%s is not an AnnotationExpr", this)); in asAnnotationExpr()
101 throw new IllegalStateException(f("%s is not an ArrayAccessExpr", this)); in asArrayAccessExpr()
111 throw new IllegalStateException(f("%s is not an ArrayCreationExpr", this)); in asArrayCreationExpr()
121 throw new IllegalStateException(f("%s is not an ArrayInitializerExpr", this)); in asArrayInitializerExpr()
131 throw new IllegalStateException(f("%s is not an AssignExpr", this)); in asAssignExpr()
141 throw new IllegalStateException(f("%s is not an BinaryExpr", this)); in asBinaryExpr()
151 throw new IllegalStateException(f("%s is not an BooleanLiteralExpr", this)); in asBooleanLiteralExpr()
161 throw new IllegalStateException(f("%s is not an CastExpr", this)); in asCastExpr()
171 throw new IllegalStateException(f("%s is not an CharLiteralExpr", this)); in asCharLiteralExpr()
181 throw new IllegalStateException(f("%s is not an ClassExpr", this)); in asClassExpr()
[all …]
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DRealBufferedSink.java45 if (closed) throw new IllegalStateException("closed"); in write()
51 if (closed) throw new IllegalStateException("closed"); in write()
57 if (closed) throw new IllegalStateException("closed"); in writeUtf8()
64 if (closed) throw new IllegalStateException("closed"); in writeUtf8()
70 if (closed) throw new IllegalStateException("closed"); in writeUtf8CodePoint()
76 if (closed) throw new IllegalStateException("closed"); in writeString()
83 if (closed) throw new IllegalStateException("closed"); in writeString()
89 if (closed) throw new IllegalStateException("closed"); in write()
95 if (closed) throw new IllegalStateException("closed"); in write()
121 if (closed) throw new IllegalStateException("closed"); in writeByte()
[all …]
/external/okhttp/okio/okio/src/main/java/okio/
DRealBufferedSink.java44 if (closed) throw new IllegalStateException("closed"); in write()
50 if (closed) throw new IllegalStateException("closed"); in write()
56 if (closed) throw new IllegalStateException("closed"); in writeUtf8()
63 if (closed) throw new IllegalStateException("closed"); in writeUtf8()
69 if (closed) throw new IllegalStateException("closed"); in writeUtf8CodePoint()
75 if (closed) throw new IllegalStateException("closed"); in writeString()
82 if (closed) throw new IllegalStateException("closed"); in writeString()
88 if (closed) throw new IllegalStateException("closed"); in write()
94 if (closed) throw new IllegalStateException("closed"); in write()
120 if (closed) throw new IllegalStateException("closed"); in writeByte()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DStatement.java90 throw new IllegalStateException(f("%s is not an AssertStmt", this)); in asAssertStmt()
100 throw new IllegalStateException(f("%s is not an BlockStmt", this)); in asBlockStmt()
110 throw new IllegalStateException(f("%s is not an BreakStmt", this)); in asBreakStmt()
120 throw new IllegalStateException(f("%s is not an ContinueStmt", this)); in asContinueStmt()
130 throw new IllegalStateException(f("%s is not an DoStmt", this)); in asDoStmt()
140 throw new IllegalStateException(f("%s is not an EmptyStmt", this)); in asEmptyStmt()
150 throw new IllegalStateException(f("%s is not an ExplicitConstructorInvocationStmt", this)); in asExplicitConstructorInvocationStmt()
160 throw new IllegalStateException(f("%s is not an ExpressionStmt", this)); in asExpressionStmt()
170 throw new IllegalStateException(f("%s is not an ForStmt", this)); in asForStmt()
180 throw new IllegalStateException(f("%s is not an IfStmt", this)); in asIfStmt()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/modules/
DModuleDirective.java62 throw new IllegalStateException(f("%s is not an ModuleExportsDirective", this)); in asModuleExportsStmt()
72 throw new IllegalStateException(f("%s is not an ModuleOpensDirective", this)); in asModuleOpensStmt()
82 throw new IllegalStateException(f("%s is not an ModuleProvidesDirective", this)); in asModuleProvidesStmt()
92 throw new IllegalStateException(f("%s is not an ModuleRequiresDirective", this)); in asModuleRequiresStmt()
102 throw new IllegalStateException(f("%s is not an ModuleUsesDirective", this)); in asModuleUsesStmt()
157 throw new IllegalStateException(f("%s is not an ModuleExportsDirective", this)); in asModuleExportsDirective()
176 throw new IllegalStateException(f("%s is not an ModuleOpensDirective", this)); in asModuleOpensDirective()
195 throw new IllegalStateException(f("%s is not an ModuleProvidesDirective", this)); in asModuleProvidesDirective()
214 throw new IllegalStateException(f("%s is not an ModuleRequiresDirective", this)); in asModuleRequiresDirective()
233 throw new IllegalStateException(f("%s is not an ModuleUsesDirective", this)); in asModuleUsesDirective()
/external/proguard/src/proguard/classfile/
DProgramClass.java120 …throw ((IllegalStateException)new IllegalStateException("Expected Utf8Constant at index ["+constan… in getString()
132 …throw ((IllegalStateException)new IllegalStateException("Expected StringConstant at index ["+const… in getStringString()
144 …throw ((IllegalStateException)new IllegalStateException("Expected ClassConstant at index ["+consta… in getClassName()
156 …throw ((IllegalStateException)new IllegalStateException("Expected NameAndTypeConstant at index ["+… in getName()
168 …throw ((IllegalStateException)new IllegalStateException("Expected NameAndTypeConstant at index ["+… in getType()
181 …throw ((IllegalStateException)new IllegalStateException("Expected RefConstant at index ["+constant… in getRefClassName()
193 …throw ((IllegalStateException)new IllegalStateException("Expected RefConstant at index ["+constant… in getRefName()
205 …throw ((IllegalStateException)new IllegalStateException("Expected RefConstant at index ["+constant… in getRefType()
/external/guava/android/guava-tests/test/com/google/common/math/
DPairedStatsAccumulatorTest.java180 } catch (IllegalStateException expected) { in testPopulationCovariance()
185 } catch (IllegalStateException expected) { in testPopulationCovariance()
247 } catch (IllegalStateException expected) { in testSampleCovariance()
252 } catch (IllegalStateException expected) { in testSampleCovariance()
257 } catch (IllegalStateException expected) { in testSampleCovariance()
262 } catch (IllegalStateException expected) { in testSampleCovariance()
294 } catch (IllegalStateException expected) { in testPearsonsCorrelationCoefficient()
299 } catch (IllegalStateException expected) { in testPearsonsCorrelationCoefficient()
304 } catch (IllegalStateException expected) { in testPearsonsCorrelationCoefficient()
309 } catch (IllegalStateException expected) { in testPearsonsCorrelationCoefficient()
[all …]
/external/guava/guava-tests/test/com/google/common/math/
DPairedStatsAccumulatorTest.java180 } catch (IllegalStateException expected) { in testPopulationCovariance()
185 } catch (IllegalStateException expected) { in testPopulationCovariance()
247 } catch (IllegalStateException expected) { in testSampleCovariance()
252 } catch (IllegalStateException expected) { in testSampleCovariance()
257 } catch (IllegalStateException expected) { in testSampleCovariance()
262 } catch (IllegalStateException expected) { in testSampleCovariance()
294 } catch (IllegalStateException expected) { in testPearsonsCorrelationCoefficient()
299 } catch (IllegalStateException expected) { in testPearsonsCorrelationCoefficient()
304 } catch (IllegalStateException expected) { in testPearsonsCorrelationCoefficient()
309 } catch (IllegalStateException expected) { in testPearsonsCorrelationCoefficient()
[all …]
/external/dagger2/java/dagger/hilt/android/internal/testing/
DTestApplicationComponentManager.java107 throw new IllegalStateException( in generatedComponent()
114 throw new IllegalStateException( in generatedComponent()
164 throw new IllegalStateException("Called componentReady before test execution started"); in checkStateIsCleared()
166 throw new IllegalStateException("Called inject before test execution started"); in checkStateIsCleared()
216 throw new IllegalStateException("Called delayComponentReady() twice"); in delayComponentReady()
218 throw new IllegalStateException("Called delayComponentReady() after componentReady()"); in delayComponentReady()
220 throw new IllegalStateException("Called delayComponentReady() after inject()"); in delayComponentReady()
227 throw new IllegalStateException( in componentReady()
233 throw new IllegalStateException("Called componentReady() multiple times"); in componentReady()
235 throw new IllegalStateException("Called componentReady() after inject()"); in componentReady()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/drm/
DDummyExoMediaDrm.java68 throw new IllegalStateException(); in getKeyRequest()
75 throw new IllegalStateException(); in provideKeyResponse()
81 throw new IllegalStateException(); in getProvisionRequest()
87 throw new IllegalStateException(); in provideProvisionResponse()
93 throw new IllegalStateException(); in queryKeyStatus()
109 throw new IllegalStateException(); in restoreKeys()
141 throw new IllegalStateException(); in createMediaCrypto()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DCancellableContinuationHandlersTest.kt15 fun testDoubleSubscription() = runTest({ it is IllegalStateException }) { in <lambda>()
29 assertFailsWith<IllegalStateException> { c.invokeOnCancellation { expectUnreached() } } in <lambda>()
41 … assertFailsWith<IllegalStateException> { c.invokeOnCancellation { expectUnreached() } } in <lambda>()
55 … assertFailsWith<IllegalStateException> { c.invokeOnCancellation { expectUnreached() } } in <lambda>()
75 … assertFailsWith<IllegalStateException> { c.invokeOnCancellation { expectUnreached() } } in <lambda>()
109 assertFailsWith<IllegalStateException> { in <lambda>()
124 … assertFailsWith<IllegalStateException> { c.invokeOnCancellation { expectUnreached() } } in <lambda>()
140 … assertFailsWith<IllegalStateException> { c.invokeOnCancellation { expectUnreached() } } in <lambda>()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
DDistinguishedNameParser.java67 throw new IllegalStateException("Unexpected end of DN: " + dn); in nextAT()
80 throw new IllegalStateException("Unexpected end of DN: " + dn); in nextAT()
111 throw new IllegalStateException("Unexpected end of DN: " + dn); in quotedAV()
140 throw new IllegalStateException("Unexpected end of DN: " + dn); in hexAV()
174 throw new IllegalStateException("Unexpected end of DN: " + dn); in hexAV()
235 throw new IllegalStateException("Unexpected end of DN: " + dn); in getEscaped()
313 throw new IllegalStateException("Malformed DN: " + dn); in getByte()
326 throw new IllegalStateException("Malformed DN: " + dn); in getByte()
337 throw new IllegalStateException("Malformed DN: " + dn); in getByte()
397 throw new IllegalStateException("Malformed DN: " + dn); in findMostSpecific()
[all …]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/
DDistinguishedNameParser.java68 throw new IllegalStateException("Unexpected end of DN: " + dn); in nextAT()
81 throw new IllegalStateException("Unexpected end of DN: " + dn); in nextAT()
112 throw new IllegalStateException("Unexpected end of DN: " + dn); in quotedAV()
141 throw new IllegalStateException("Unexpected end of DN: " + dn); in hexAV()
175 throw new IllegalStateException("Unexpected end of DN: " + dn); in hexAV()
236 throw new IllegalStateException("Unexpected end of DN: " + dn); in getEscaped()
314 throw new IllegalStateException("Malformed DN: " + dn); in getByte()
327 throw new IllegalStateException("Malformed DN: " + dn); in getByte()
338 throw new IllegalStateException("Malformed DN: " + dn); in getByte()
398 throw new IllegalStateException("Malformed DN: " + dn); in findMostSpecific()
[all …]
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DDistinguishedNameParser.java70 throw new IllegalStateException("Unexpected end of DN: " + dn); in nextAT()
83 throw new IllegalStateException("Unexpected end of DN: " + dn); in nextAT()
114 throw new IllegalStateException("Unexpected end of DN: " + dn); in quotedAV()
144 throw new IllegalStateException("Unexpected end of DN: " + dn); in hexAV()
178 throw new IllegalStateException("Unexpected end of DN: " + dn); in hexAV()
239 throw new IllegalStateException("Unexpected end of DN: " + dn); in getEscaped()
317 throw new IllegalStateException("Malformed DN: " + dn); in getByte()
330 throw new IllegalStateException("Malformed DN: " + dn); in getByte()
341 throw new IllegalStateException("Malformed DN: " + dn); in getByte()
401 throw new IllegalStateException("Malformed DN: " + dn); in findMostSpecific()
[all …]
/external/brotli/java/org/brotli/wrapper/enc/
DEncoderJNI.java54 throw new IllegalStateException("brotli encoder is already destroyed"); in push()
57 throw new IllegalStateException("pushing input to encoder in unexpected state"); in push()
60 throw new IllegalStateException("pushing input to encoder over previous input"); in push()
89 throw new IllegalStateException("brotli encoder is already destroyed"); in pull()
92 throw new IllegalStateException("pulling while data is not ready"); in pull()
103 throw new IllegalStateException("brotli encoder is already destroyed"); in destroy()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttp1xStream.java98 throw new IllegalStateException( in createRequestBody()
166 if (state != STATE_IDLE) throw new IllegalStateException("state: " + state); in writeRequest()
181 throw new IllegalStateException("state: " + state); in readResponse()
218 if (state != STATE_OPEN_REQUEST_BODY) throw new IllegalStateException("state: " + state); in newChunkedSink()
224 if (state != STATE_OPEN_REQUEST_BODY) throw new IllegalStateException("state: " + state); in newFixedLengthSink()
230 if (state != STATE_OPEN_REQUEST_BODY) throw new IllegalStateException("state: " + state); in writeRequestBody()
236 if (state != STATE_OPEN_RESPONSE_BODY) throw new IllegalStateException("state: " + state); in newFixedLengthSource()
242 if (state != STATE_OPEN_RESPONSE_BODY) throw new IllegalStateException("state: " + state); in newChunkedSource()
248 if (state != STATE_OPEN_RESPONSE_BODY) throw new IllegalStateException("state: " + state); in newUnknownLengthSource()
249 if (streamAllocation == null) throw new IllegalStateException("streamAllocation == null"); in newUnknownLengthSource()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
DBodyDeclaration.java138 throw new IllegalStateException(f("%s is not an AnnotationDeclaration", this)); in asAnnotationDeclaration()
148 throw new IllegalStateException(f("%s is not an AnnotationMemberDeclaration", this)); in asAnnotationMemberDeclaration()
158 throw new IllegalStateException(f("%s is not an CallableDeclaration", this)); in asCallableDeclaration()
168 throw new IllegalStateException(f("%s is not an ClassOrInterfaceDeclaration", this)); in asClassOrInterfaceDeclaration()
178 throw new IllegalStateException(f("%s is not an ConstructorDeclaration", this)); in asConstructorDeclaration()
188 throw new IllegalStateException(f("%s is not an EnumConstantDeclaration", this)); in asEnumConstantDeclaration()
198 throw new IllegalStateException(f("%s is not an EnumDeclaration", this)); in asEnumDeclaration()
208 throw new IllegalStateException(f("%s is not an FieldDeclaration", this)); in asFieldDeclaration()
218 throw new IllegalStateException(f("%s is not an InitializerDeclaration", this)); in asInitializerDeclaration()
228 throw new IllegalStateException(f("%s is not an MethodDeclaration", this)); in asMethodDeclaration()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/
DType.java164 throw new IllegalStateException(f("%s is not an ArrayType", this)); in asArrayType()
174 throw new IllegalStateException(f("%s is not an ClassOrInterfaceType", this)); in asClassOrInterfaceType()
184 throw new IllegalStateException(f("%s is not an IntersectionType", this)); in asIntersectionType()
194 throw new IllegalStateException(f("%s is not an PrimitiveType", this)); in asPrimitiveType()
204 throw new IllegalStateException(f("%s is not an ReferenceType", this)); in asReferenceType()
214 throw new IllegalStateException(f("%s is not an TypeParameter", this)); in asTypeParameter()
224 throw new IllegalStateException(f("%s is not an UnionType", this)); in asUnionType()
234 throw new IllegalStateException(f("%s is not an UnknownType", this)); in asUnknownType()
244 throw new IllegalStateException(f("%s is not an VoidType", this)); in asVoidType()
254 throw new IllegalStateException(f("%s is not an WildcardType", this)); in asWildcardType()
[all …]
/external/brotli/java/org/brotli/wrapper/dec/
DDecoderJNI.java48 throw new IllegalStateException("brotli decoder is already destroyed"); in push()
51 throw new IllegalStateException("pushing input to decoder in " + lastStatus + " state"); in push()
54 throw new IllegalStateException("pushing input to decoder in OK state"); in push()
90 throw new IllegalStateException("brotli decoder is already destroyed"); in pull()
93 throw new IllegalStateException("pulling output from decoder in " + lastStatus + " state"); in pull()
106 throw new IllegalStateException("brotli decoder is already destroyed"); in destroy()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DHttp1xStream.java100 throw new IllegalStateException( in createRequestBody()
168 if (state != STATE_IDLE) throw new IllegalStateException("state: " + state); in writeRequest()
183 throw new IllegalStateException("state: " + state); in readResponse()
220 if (state != STATE_OPEN_REQUEST_BODY) throw new IllegalStateException("state: " + state); in newChunkedSink()
226 if (state != STATE_OPEN_REQUEST_BODY) throw new IllegalStateException("state: " + state); in newFixedLengthSink()
232 if (state != STATE_OPEN_REQUEST_BODY) throw new IllegalStateException("state: " + state); in writeRequestBody()
238 if (state != STATE_OPEN_RESPONSE_BODY) throw new IllegalStateException("state: " + state); in newFixedLengthSource()
244 if (state != STATE_OPEN_RESPONSE_BODY) throw new IllegalStateException("state: " + state); in newChunkedSource()
250 if (state != STATE_OPEN_RESPONSE_BODY) throw new IllegalStateException("state: " + state); in newUnknownLengthSource()
251 if (streamAllocation == null) throw new IllegalStateException("streamAllocation == null"); in newUnknownLengthSource()
[all …]
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/util/
DInMemorySharedPreferences.java135 if (mApplyCalled) throw new IllegalStateException(); in putString()
144 if (mApplyCalled) throw new IllegalStateException(); in putStringSet()
153 if (mApplyCalled) throw new IllegalStateException(); in putInt()
162 if (mApplyCalled) throw new IllegalStateException(); in putLong()
171 if (mApplyCalled) throw new IllegalStateException(); in putFloat()
180 if (mApplyCalled) throw new IllegalStateException(); in putBoolean()
189 if (mApplyCalled) throw new IllegalStateException(); in remove()
199 if (mApplyCalled) throw new IllegalStateException(); in clear()
215 if (mApplyCalled) throw new IllegalStateException(); in apply()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparser/
DNavigator.java43 …return node.getParentNode().orElseThrow(() -> new IllegalStateException("Parent not found, the nod… in requireParentNode()
92 throw new IllegalStateException("Type is not a class"); in demandClass()
100 throw new IllegalStateException("Type is not an interface"); in demandInterface()
108 throw new IllegalStateException("No type found"); in demandEnum()
111 throw new IllegalStateException("Type is not an enum"); in demandEnum()
123 throw new IllegalStateException("Ambiguous getName"); in demandMethod()
130 throw new IllegalStateException("No method called " + name); in demandMethod()
157 throw new IllegalStateException("No constructor with index " + index); in demandConstructor()
173 throw new IllegalStateException("No field with given name"); in demandField()
195 …(res -> res.toClassOrInterfaceDeclaration().orElseThrow(() -> new IllegalStateException("Type is n… in demandClassOrInterface()
[all …]
/external/guava/guava/src/com/google/common/base/
DPreconditions.java492 throw new IllegalStateException(); in checkState()
508 throw new IllegalStateException(String.valueOf(errorMessage)); in checkState()
532 throw new IllegalStateException(lenientFormat(errorMessageTemplate, errorMessageArgs)); in checkState()
546 throw new IllegalStateException(lenientFormat(errorMessageTemplate, p1)); in checkState()
560 throw new IllegalStateException(lenientFormat(errorMessageTemplate, p1)); in checkState()
574 throw new IllegalStateException(lenientFormat(errorMessageTemplate, p1)); in checkState()
589 throw new IllegalStateException(lenientFormat(errorMessageTemplate, p1)); in checkState()
604 throw new IllegalStateException(lenientFormat(errorMessageTemplate, p1, p2)); in checkState()
618 throw new IllegalStateException(lenientFormat(errorMessageTemplate, p1, p2)); in checkState()
633 throw new IllegalStateException(lenientFormat(errorMessageTemplate, p1, p2)); in checkState()
[all …]
/external/guava/android/guava/src/com/google/common/base/
DPreconditions.java495 throw new IllegalStateException(); in checkState()
511 throw new IllegalStateException(String.valueOf(errorMessage)); in checkState()
535 throw new IllegalStateException(lenientFormat(errorMessageTemplate, errorMessageArgs)); in checkState()
549 throw new IllegalStateException(lenientFormat(errorMessageTemplate, p1)); in checkState()
563 throw new IllegalStateException(lenientFormat(errorMessageTemplate, p1)); in checkState()
577 throw new IllegalStateException(lenientFormat(errorMessageTemplate, p1)); in checkState()
592 throw new IllegalStateException(lenientFormat(errorMessageTemplate, p1)); in checkState()
607 throw new IllegalStateException(lenientFormat(errorMessageTemplate, p1, p2)); in checkState()
622 throw new IllegalStateException(lenientFormat(errorMessageTemplate, p1, p2)); in checkState()
637 throw new IllegalStateException(lenientFormat(errorMessageTemplate, p1, p2)); in checkState()
[all …]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/core/
DIllegalStateException.java25 public class IllegalStateException extends MockFtpServerException { class
30 public IllegalStateException(String message) { in IllegalStateException() method in IllegalStateException
37 public IllegalStateException(Throwable cause) { in IllegalStateException() method in IllegalStateException
45 public IllegalStateException(String message, Throwable cause) { in IllegalStateException() method in IllegalStateException

12345678910>>...74