Create a new AdvanceExceptionImpl, without attaching anything.
Create a new AdvanceExceptionImpl, attaching a command.
Returns a string of the original needle the call to advancePast was operating on.
Returns a string of the original needle the call to advancePast was operating on.
Raw haystack that haystack converts to string and returns.
Raw needle that needle converts to string and returns.
Returns a string of the original haystack the call to advancePast was operating on.
Returns a string of the original needle the call to advancePast was operating on.
Exception, to be thrown when a call to advancePast went wrong.
This is the templated implementation, so that we can support more than one kind of needle and haystack combination.
It is a normal Exception but with an attached needle and haystack.