asPipelineException

Converts this Exception to a PipelineException if it is not already one.