Klasse PhotoException

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:
  • Konstruktordetails

    • PhotoException

      public PhotoException(Level level, Throwable cause, String msgTemplate, Object... msgParms)
      Constructor.
      Parameter:
      level - SEVERE, WARNING, INFO
      cause - optional causing exeption
      msgTemplate - the NLS key with placeholders %1$s ...
      msgParms - Objects replacing the placeholders
  • Methodendetails

    • log

      public static void log(Level level, Throwable cause, String msgTemplate, Object... msgParms)
      Log a message in national language (English, German).
      Parameter:
      level - INFO, WARNING, SEVERE
      cause - (optional) the causing throwable
      msgTemplate - the nls key of the message with placeholders (%1$s...)
      msgParms - whose string representation is used to replace the placeholders
    • nls

      public static String nls(String msgTemplate, Object... msgParms)
      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

      protected ResourceBundle getResourceBundle()
      Setzt außer Kraft:
      getResourceBundle in Klasse de.zocher_regel.util.UtilException