@classmethod<EOL><INDENT>def _from_exception(cls, pe):<DEDENT>
return cls(pe.pstr, pe.loc, pe.msg, pe.parserElement)<EOL>
internal factory method to simplify creating one type of ParseException
from another - avoids having __init__ signature conflicts among subclasses