Update "sourcePath" and "availableStrata" implementations in mock objects

This commit is contained in:
Michael Bogdanov
2015-02-04 16:50:29 +03:00
parent bc2261ea3b
commit 72a3d5538f
2 changed files with 4 additions and 3 deletions
@@ -63,12 +63,12 @@ public class MockLocation implements Location {
@Override
public String sourcePath() throws AbsentInformationException {
throw new UnsupportedOperationException();
throw new AbsentInformationException();
}
@Override
public String sourcePath(String s) throws AbsentInformationException {
throw new UnsupportedOperationException();
throw new AbsentInformationException();
}
@Override
@@ -18,6 +18,7 @@ package org.jetbrains.kotlin.idea.debugger;
import com.sun.jdi.*;
import java.util.Collections;
import java.util.List;
import java.util.Map;
@@ -191,7 +192,7 @@ public class MockReferenceType implements ReferenceType {
@Override
public List<String> availableStrata() {
throw new UnsupportedOperationException();
return Collections.emptyList();
}
@Override