UnsupportedOperationException replaced with IllegalStateException

This commit is contained in:
Svetlana Isakova
2013-02-19 13:26:34 +04:00
parent c5d1e04d41
commit a2c74c14a1
@@ -42,29 +42,29 @@ public class TypeUtils {
@NotNull @NotNull
@Override @Override
public TypeConstructor getConstructor() { public TypeConstructor getConstructor() {
throw new UnsupportedOperationException(); // TODO throw new IllegalStateException();
} }
@NotNull @NotNull
@Override @Override
public List<TypeProjection> getArguments() { public List<TypeProjection> getArguments() {
throw new UnsupportedOperationException(); // TODO throw new IllegalStateException();
} }
@Override @Override
public boolean isNullable() { public boolean isNullable() {
throw new UnsupportedOperationException(); // TODO throw new IllegalStateException();
} }
@NotNull @NotNull
@Override @Override
public JetScope getMemberScope() { public JetScope getMemberScope() {
throw new UnsupportedOperationException(); // TODO throw new IllegalStateException();
} }
@Override @Override
public List<AnnotationDescriptor> getAnnotations() { public List<AnnotationDescriptor> getAnnotations() {
throw new UnsupportedOperationException(); // TODO throw new IllegalStateException();
} }
@Override @Override