Package org.jxmpp.stringprep
Class XmppStringprepException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.jxmpp.stringprep.XmppStringprepException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
XmppStringprepException.MissingDomainpart
XMPP Stringprep exceptions signal an error when performing a particular Stringprep profile on a String.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The input string does not contain a domainpart. -
Constructor Summary
ConstructorDescriptionXmppStringprepException
(String causingString, Exception exception) Construct a new XMPP Stringprep exception with the given causing String and exception.XmppStringprepException
(String causingString, String message) Construct a new XMPP Stringprep exception with the given causing String and exception message. -
Method Summary
Modifier and TypeMethodDescriptionGet 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
-
Constructor Details
-
XmppStringprepException
Construct a new XMPP Stringprep exception with the given causing String and exception.- Parameters:
causingString
- the String causing the exception.exception
- the exception.
-
XmppStringprepException
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 Details
-
getCausingString
Get the String causing the XMPP Stringprep exception.- Returns:
- the causing String.
-