Package com.helger.phase4.peppol
Class Phase4PeppolValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.helger.phase4.util.Phase4Exception
com.helger.phase4.peppol.Phase4PeppolException
com.helger.phase4.peppol.Phase4PeppolValidationException
- All Implemented Interfaces:
Serializable
Special
Phase4PeppolException exception for validation errors.- Author:
- Philip Helger
- See Also:
-
Field Summary
Fields inherited from class com.helger.phase4.util.Phase4Exception
DEFAULT_RETRY_FEASIBLE -
Constructor Summary
ConstructorsConstructorDescriptionPhase4PeppolValidationException(@NonNull com.helger.phive.api.result.ValidationResultList aValidationResult) -
Method Summary
Modifier and TypeMethodDescriptionfinal @NonNull com.helger.phive.api.result.ValidationResultListMethods inherited from class com.helger.phase4.util.Phase4Exception
isRetryFeasible, setRetryFeasibleMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Phase4PeppolValidationException
public Phase4PeppolValidationException(@NonNull com.helger.phive.api.result.ValidationResultList aValidationResult) - Parameters:
aValidationResult- The validation result list that usually contains at least one error.
-
-
Method Details
-
getValidationResult
public final @NonNull com.helger.phive.api.result.ValidationResultList getValidationResult()- Returns:
- The validation results as provided in the constructor. Never
null.
-