Class SchematronReadException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.helger.schematron.SchematronException
com.helger.schematron.pure.exchange.SchematronReadException
All Implemented Interfaces:
Serializable

public class SchematronReadException extends com.helger.schematron.SchematronException
Exception when reading Schematron fails.
Author:
Philip Helger
See Also:
  • Constructor Details

    • SchematronReadException

      public SchematronReadException(@Nonnull com.helger.commons.io.resource.IReadableResource aRes, @Nonnull String sMsg)
      Constructor
      Parameters:
      aRes - The resource in which the error occurred. May not be null.
      sMsg - error message
    • SchematronReadException

      public SchematronReadException(@Nonnull com.helger.commons.io.resource.IReadableResource aRes, @Nonnull String sMsg, @Nullable Throwable t)
      Constructor
      Parameters:
      aRes - The resource in which the error occurred. May not be null.
      sMsg - error message
      t - Nested exception
  • Method Details

    • getResource

      @Nonnull public com.helger.commons.io.resource.IReadableResource getResource()
      Returns:
      The resource, in which the error occurred. Never null.