mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8349039: Adjust exception No type named <ThreadType> in database
Backport-of: 669f8c0c07
This commit is contained in:
committed by
Sergey Shelomentsev
parent
ae064d69b0
commit
96458eba85
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2000, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@@ -83,7 +83,7 @@ public class BasicTypeDataBase implements TypeDataBase {
|
||||
public Type lookupType(String cTypeName, boolean throwException) {
|
||||
Type type = nameToTypeMap.get(cTypeName);
|
||||
if (type == null && throwException) {
|
||||
throw new RuntimeException("No type named \"" + cTypeName + "\" in database");
|
||||
throw new RuntimeException("No type named \"" + cTypeName + "\" present in type database");
|
||||
}
|
||||
return type;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user