javax.print

Interface URIException


  • public interface URIException
    Interface URIException is a mixin interface which a subclass of PrintException can implement to report an error condition involving a URI address. The Print Service API does not define any print exception classes that implement interface URIException, that being left to the Print Service implementor's discretion.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int URIInaccessible
      Indicates that the printer cannot access the URI address.
      static int URIOtherProblem
      Indicates any kind of problem not specifically identified by the other reasons.
      static int URISchemeNotSupported
      Indicates that the printer does not support the URI scheme ("http", "ftp", etc.) in the URI address.

        

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int getReason()
      Return the reason for the event.
      URI getUnsupportedURI()
      Return the URI.

        

    • Field Detail

      • URIInaccessible

        static final int URIInaccessible
        Indicates that the printer cannot access the URI address. For example, the printer might report this error if it goes to get the print data and cannot even establish a connection to the URI address.
        See Also:
        Constant Field Values
      • URISchemeNotSupported

        static final int URISchemeNotSupported
        Indicates that the printer does not support the URI scheme ("http", "ftp", etc.) in the URI address.
        See Also:
        Constant Field Values
      • URIOtherProblem

        static final int URIOtherProblem
        Indicates any kind of problem not specifically identified by the other reasons.
        See Also:
        Constant Field Values
    • Method Detail

      • getUnsupportedURI

        URI getUnsupportedURI()
        Return the URI.
        Returns:
        the URI that is the cause of this exception.
      • getReason

        int getReason()
        Return the reason for the event.
        Returns:
        one of the predefined reasons enumerated in this interface.

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Document créé le 29/08/2006, dernière modification le 04/03/2020
Source du document imprimé : https://www.gaudry.be/java-api-rf-javax/print/URIException.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com, URIException

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut