com.sourceforge.jpatterns.core
Class JPException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sourceforge.jpatterns.core.JPException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JPConfigException, JPInitializationException

public class JPException
extends RuntimeException

This exception represents all the scope of the exceptions related to the JPatterns framework.
Note: comments to the first version: It extends the Exception but not the RuntimeException to highlight the importance of the application errors related to the configurations - it says the users of the JPatterns configure smth. wrong- it is really serious problem from our point of view.
Note: up to dated comments: It was decided to make this exception extending the not chekable RuntimeException not to letter the signatures of the JPatterns and the signatures of the consumers of JPatterns. todo [zmicer]: think over the correct usage of this Exception at the JPatterns sources. $Author:: zmicer $
$Rev:: 57 $
* $Date:: 2007-08-23 09:16:37 #$

See Also:
Serialized Form

Constructor Summary
JPException()
          The default public constructor
JPException(String message)
          One of the public constructor
JPException(String message, Throwable cause)
          One of the public constructors
JPException(Throwable cause)
          One of the forms of the public construtor
 
Method Summary
 
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

JPException

public JPException()
The default public constructor


JPException

public JPException(String message)
One of the public constructor

Parameters:
message - the message param

JPException

public JPException(String message,
                   Throwable cause)
One of the public constructors

Parameters:
message - message param
cause - param

JPException

public JPException(Throwable cause)
One of the forms of the public construtor

Parameters:
cause - the throwable param


Copyright © 2007 jzmicer.team. All Rights Reserved.