Package davmail.exception
Class DavMailException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
davmail.exception.DavMailException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DavMailAuthenticationException,NetworkDownException,WebdavNotAvailableException
I18 IOException subclass.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDavMailException(String key, Object... arguments) Create a DavMail exception with the given BundleMessage key and arguments. -
Method Summary
Modifier and TypeMethodDescriptionGet internal exception BundleMessage.Get formatted messagegetMessage(Locale locale) Get formatted message using locale.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DavMailException
Create a DavMail exception with the given BundleMessage key and arguments.- Parameters:
key- message keyarguments- message values
-
-
Method Details
-
getMessage
Get formatted message- Overrides:
getMessagein classThrowable- Returns:
- english formatted message
-
getMessage
Get formatted message using locale.- Parameters:
locale- locale- Returns:
- localized formatted message
-
getBundleMessage
Get internal exception BundleMessage.- Returns:
- unformatted message
-