Class URI.DefaultCharsetChanged

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    URI

    public static class URI.DefaultCharsetChanged
    extends org.apache.sling.api.SlingException
    The charset-changed normal operation to represent to be required to alert to user the fact the default charset is changed.
    See Also:
    Serialized Form
    • Field Detail

      • PROTOCOL_CHARSET

        public static final int PROTOCOL_CHARSET
        Protocol charset changed.
        See Also:
        Constant Field Values
      • DOCUMENT_CHARSET

        public static final int DOCUMENT_CHARSET
        Document charset changed.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultCharsetChanged

        public DefaultCharsetChanged​(int reasonCode,
                                     String reason)
        The constructor with a reason string and its code arguments.
        Parameters:
        reasonCode - the reason code
        reason - the reason
    • Method Detail

      • getReasonCode

        public int getReasonCode()
        Get the reason code.
        Returns:
        the reason code
      • getReason

        public String getReason()
        Get the reason message.
        Returns:
        the reason message