package com.jetbrains.ther.debugger.mock;

import com.jetbrains.ther.debugger.data.TheRLocation;
import com.jetbrains.ther.debugger.exception.TheRDebuggerException;
import org.jetbrains.annotations.NotNull;

public class IllegalTheRFunctionDebugger extends MockTheRFunctionDebugger {

  public IllegalTheRFunctionDebugger() {
    super("", 0, null);
  }

  @NotNull
  @Override
  public TheRLocation getLocation() {
    throw new IllegalStateException("GetLocation shouldn't be called");
  }

  @Override
  public boolean hasNext() {
    throw new IllegalStateException("HasNext shouldn't be called");
  }

  @Override
  public void advance() throws TheRDebuggerException {
    throw new IllegalStateException("Advance shouldn't be called");
  }
}
