[AA K2] cleanup CanNotCreateSymbolPointerForLocalLibraryDeclarationException usages

^KT-54311
This commit is contained in:
Dmitrii Gridin
2022-11-04 15:50:12 +01:00
committed by Space Team
parent 731545573a
commit 32c38c0ae4
3 changed files with 7 additions and 4 deletions
@@ -9,7 +9,9 @@ import org.jetbrains.kotlin.analysis.api.symbols.markers.KtSymbolKind
import kotlin.reflect.KClass
public class CanNotCreateSymbolPointerForLocalLibraryDeclarationException(identifier: String) :
IllegalStateException("Could not create a symbol pointer for local symbol $identifier")
IllegalStateException("Could not create a symbol pointer for local symbol $identifier") {
public constructor(klass: KClass<*>) : this(klass.java.simpleName)
}
public class UnsupportedSymbolKind(identifier: String, kind: KtSymbolKind) : IllegalStateException(
"For symbol with kind = KtSymbolKind.${kind.name} was $identifier"