Class XmppStringprepException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    XmppStringprepException.MissingDomainpart

    public class XmppStringprepException
    extends java.io.IOException
    XMPP Stringprep exceptions signal an error when performing a particular Stringprep profile on a String.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      XmppStringprepException​(java.lang.String causingString, java.lang.Exception exception)
      Construct a new XMPP Stringprep exception with the given causing String and exception.
      XmppStringprepException​(java.lang.String causingString, java.lang.String message)
      Construct a new XMPP Stringprep exception with the given causing String and exception message.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCausingString()
      Get the String causing the XMPP Stringprep exception.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • XmppStringprepException

        public XmppStringprepException​(java.lang.String causingString,
                                       java.lang.Exception exception)
        Construct a new XMPP Stringprep exception with the given causing String and exception.
        Parameters:
        causingString - the String causing the exception.
        exception - the exception.
      • XmppStringprepException

        public XmppStringprepException​(java.lang.String causingString,
                                       java.lang.String message)
        Construct a new XMPP Stringprep exception with the given causing String and exception message.
        Parameters:
        causingString - the String causing the exception.
        message - the message of the exception.
    • Method Detail

      • getCausingString

        public java.lang.String getCausingString()
        Get the String causing the XMPP Stringprep exception.
        Returns:
        the causing String.