@Override
	public TicketPoolQueryArgs toTicketPoolQueryArgs(TicketQueryArgs args)
			throws Exception {
		TicketPoolQueryArgs rs = new TicketPoolQueryArgs();
		rs.setDepartureStop(this.getStationSequence(args.getDepartureStation()));
		rs.setDestinationStop(this.getStationSequence(args.getDestinationStation()));
		
		if(rs.getDestinationStop() <= rs.getDepartureStop())
		{
			throw new IllegalArgumentException("Destination station must be after the departure station.");
		}
		
		rs.setCount(args.getCount());
		rs.setSeatType(args.getSeatType());
		
		
		
		
		return rs;
	}