org.java.plugin
Class JpfException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.java.plugin.JpfException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ManifestProcessingException, PluginLifecycleException

public abstract class JpfException
extends java.lang.Exception

Base JPF exception class that supports localized error messages.

Version:
$Id$
See Also:
Serialized Form

Constructor Summary
protected JpfException(java.lang.String message)
          Added to be able to create exception without thr resource bundle
protected JpfException(java.lang.String aPackageName, java.lang.String aMessageKey, java.lang.Object aData, java.lang.Throwable cause)
           
protected JpfException(java.lang.String message, java.lang.Throwable cause)
          Added to be able to create exception without thr resource bundle
 
Method Summary
 java.lang.String getMessage(java.util.Locale locale)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JpfException

protected JpfException(java.lang.String message)
Added to be able to create exception without thr resource bundle

Parameters:
message - the error message

JpfException

protected JpfException(java.lang.String message,
                       java.lang.Throwable cause)
Added to be able to create exception without thr resource bundle

Parameters:
message - the message
cause - the cause

JpfException

protected JpfException(java.lang.String aPackageName,
                       java.lang.String aMessageKey,
                       java.lang.Object aData,
                       java.lang.Throwable cause)
Method Detail

getMessage

public java.lang.String getMessage(java.util.Locale locale)
Parameters:
locale - locale
Returns:
error message for the given locale


Copyright © 2010. All Rights Reserved.