JPF 1.5.1

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 aPackageName, java.lang.String aMessageKey, java.lang.Object aData, java.lang.Throwable cause)
           
 
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 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

JPF 1.5.1

Copyright © 2004-2007 Dmitry Olshansky. All Rights Reserved.