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
public class XmppStringprepException extends IOException
XMPP Stringprep exceptions signal an error when performing a particular Stringprep profile on a String.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
XmppStringprepException.MissingDomainpart
The input string does not contain a domainpart.
-
Constructor Summary
Constructors Constructor Description XmppStringprepException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Constructor Detail
-
XmppStringprepException
public XmppStringprepException(String causingString, 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(String causingString, 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 String getCausingString()
Get the String causing the XMPP Stringprep exception.- Returns:
- the causing String.
-
-