java.lang.Object
org.cybergarage.upnp.device.Description

public class Descriptionextends Object
Utility class for UPnP device description error messages.

This class provides constant error messages used during UPnP device description processing and validation. It centralizes error message strings for consistent error reporting across the framework.

Key features:

  • Standardized error message constants
  • Description loading error messages
  • Root node validation errors
  • Root device validation errors
  • Consistent error reporting

This class is used by UPnP device parsing components to provide consistent error messages when encountering issues with device description documents, improving debugging and error handling.

  • Field Details

    • LOADING_EXCEPTION

      public static final String LOADING_EXCEPTION
      Error message when description file cannot be loaded
      See Also:
    • NOROOT_EXCEPTION

      public static final String NOROOT_EXCEPTION
      Error message when root node is not found
      See Also:
    • NOROOTDEVICE_EXCEPTION

      public static final String NOROOTDEVICE_EXCEPTION
      Error message when root device node is not found
      See Also:
  • Constructor Details

    • Description

      public Description()
      Constructor. The error strings are fixed constants, so an instance holds nothing and the messages are read statically.