Class ResourceAccessCheckException

  • All Implemented Interfaces:
    Serializable

    public final class ResourceAccessCheckException
    extends Exception
    Exception that is thrown when access to a resource could not be checked due an unhandled or unforeseen error.
    Since:
    7.0.10
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • ResourceAccessCheckException

        public ResourceAccessCheckException​(URI resource)
        Creates a new exception for when access to a resource could not be checked.
        Parameters:
        resource - The resource that could not be checked.
      • ResourceAccessCheckException

        public ResourceAccessCheckException​(URI resource,
                                            String message)
        Creates a new exception for when access to a resource could not be checked.
        Parameters:
        resource - The resource that could not be checked.
        message - Error message detailing the reason why the check failed.
      • ResourceAccessCheckException

        public ResourceAccessCheckException​(URI resource,
                                            String message,
                                            Throwable cause)
        Creates a new exception for when access to a resource could not be checked.
        Parameters:
        resource - The resource that could not be checked.
        message - Error message detailing the reason why the check failed.
        cause - Underlying cause that made the check fail.
      • ResourceAccessCheckException

        public ResourceAccessCheckException​(URI resource,
                                            Throwable cause)
        Creates a new exception for when access to a resource could not be checked.
        Parameters:
        resource - The resource that could not be checked.
        cause - Underlying cause that made the check fail.
      • ResourceAccessCheckException

        public ResourceAccessCheckException​(URL resource)
      • ResourceAccessCheckException

        public ResourceAccessCheckException​(URL resource,
                                            String message)
        Creates a new exception for when access to a resource could not be checked.
        Parameters:
        resource - The resource that could not be checked.
        message - Error message detailing the reason why the check failed.
      • ResourceAccessCheckException

        public ResourceAccessCheckException​(URL resource,
                                            String message,
                                            Throwable cause)
        Creates a new exception for when access to a resource could not be checked.
        Parameters:
        resource - The resource that could not be checked.
        message - Error message detailing the reason why the check failed.
        cause - Underlying cause that made the check fail.
      • ResourceAccessCheckException

        public ResourceAccessCheckException​(URL resource,
                                            Throwable cause)
        Creates a new exception for when access to a resource could not be checked.
        Parameters:
        resource - The resource that could not be checked.
        cause - Underlying cause that made the check fail.
    • Method Detail

      • getResource

        public String getResource()
        Returns:
        The resource that could not be checked.