Class RuntimeParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.juneau.marshall.parser.RuntimeParseException
- All Implemented Interfaces:
Serializable
Unchecked wrapper used by the
iterator(...) /
stream(...) views to surface the checked
IOException / ParseException cause
through the Iterator / Stream API.
Carries the original typed cause so pipeline consumers can recover it via
Throwable.getCause() and react meaningfully, rather than catching a bare
RuntimeException.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RuntimeParseException
Constructor.- Parameters:
cause- The underlying checked exception (typicallyIOExceptionorParseException).
Can benull (the exception is created with no cause and no message).
-