java.lang.Object
java.lang.Throwable
java.lang.Exception
de.zocher_regel.util.UtilException
de.zocher_regel.photo.PhotoException
- Alle implementierten Schnittstellen:
Serializable
public final class PhotoException
extends de.zocher_regel.util.UtilException
This class is the only checked Exception in this package and its subpackages.
It is also responsible for logging and error messaging.
- Siehe auch:
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungPhotoException(Level level, Throwable cause, String msgTemplate, Object... msgParms) Constructor. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected ResourceBundlestatic voidLog a message in national language (English, German).static StringResolve a NLS message.Von Klasse geerbte Methoden de.zocher_regel.util.UtilException
getLevel, getLocalizedMessage, log, replaceSpecialCharactersVon Klasse geerbte Methoden java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Konstruktordetails
-
PhotoException
Constructor.- Parameter:
level- SEVERE, WARNING, INFOcause- optional causing exeptionmsgTemplate- the NLS key with placeholders %1$s ...msgParms- Objects replacing the placeholders
-
-
Methodendetails
-
log
Log a message in national language (English, German).- Parameter:
level- INFO, WARNING, SEVEREcause- (optional) the causing throwablemsgTemplate- the nls key of the message with placeholders (%1$s...)msgParms- whose string representation is used to replace the placeholders
-
nls
Resolve a NLS message.- Parameter:
msgTemplate- the NLS key with placeholders %1$s ...msgParms- Objects replacing the placeholders- Gibt zurück:
- the msgTemplate with placeholders resolved
-
getResourceBundle
- Setzt außer Kraft:
getResourceBundlein Klassede.zocher_regel.util.UtilException
-