@NotNull
	public RuntimeException asUncheckedException()
	{
		switch(errorCode)
		{
			case JDWP.Error.NOT_SUSPENDED:
				return new NotSuspendedException();
			case JDWP.Error.INVALID_OBJECT:
				return new InvalidObjectException();
			case JDWP.Error.INVALID_FRAMEID:
				return new InvalidStackFrameException();
			case JDWP.Error.INVALID_FIELDID:
				return new InvalidFieldIdException();
			case JDWP.Error.NOT_IMPLEMENTED:
				return new UnsupportedOperationException();
			case JDWP.Error.ABSENT_INFORMATION:
				return new AbsentInformationException();
			case JDWP.Error.INVALID_ARGUMENT:
				return new IllegalArgumentException();
			case JDWP.Error.ERR_UNLOADED:
				return new UnloadedElementException();
			default:
				return new InternalException("Unexpected JDWP Error: " + errorCode, errorCode);
		}
	}