replace NotImplementedException with IllegalStateException

dropping dependency on commons-lang
This commit is contained in:
Stepan Koltsov
2011-11-14 17:41:55 +04:00
parent b6a07c1e29
commit 16d39b9cd6
@@ -3,7 +3,6 @@ package org.jetbrains.jet.lang.resolve;
import com.intellij.openapi.util.Pair;
import com.intellij.psi.PsiElement;
import com.intellij.util.containers.MultiMap;
import org.apache.commons.lang.NotImplementedException;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.jet.lang.descriptors.*;
@@ -81,7 +80,7 @@ public class OverloadResolver {
ClassDescriptor classDescriptor = (ClassDescriptor) containingDeclaration;
inClasses.put(classDescriptor, klass.getConstructors());
} else {
throw new NotImplementedException();
throw new IllegalStateException();
}
}