org.spaceroots.rkcheck
Class RKCheckException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.spaceroots.rkcheck.RKCheckException
All Implemented Interfaces:
java.io.Serializable

public class RKCheckException
extends java.lang.Exception

This class is the base class for all specific exceptions thrown by the rkcheck classes.

When the rkcheck classes throw exceptions that are specific to the package, these exceptions are always subclasses of RKCheckException. When exceptions that are already covered by the standard java API should be thrown, like ArrayIndexOutOfBoundsException or IllegalArgumentException, these standard exceptions are thrown rather than the rkcheck specific ones.

Version:
$Id: RKCheckException.java,v 1.1 2004/05/23 13:30:49 luc Exp $
Author:
L. Maisonobe
See Also:
Serialized Form

Constructor Summary
RKCheckException()
          Simple constructor.
RKCheckException(java.lang.String message)
          Simple constructor.
RKCheckException(java.lang.String specifier, java.lang.String[] parts)
          Simple constructor.
RKCheckException(java.lang.String specifier, java.lang.String[] parts, java.lang.Throwable cause)
          Simple constructor.
RKCheckException(java.lang.String message, java.lang.Throwable cause)
          Simple constructor.
RKCheckException(java.lang.Throwable cause)
          Simple constructor.
 
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

RKCheckException

public RKCheckException()
Simple constructor. Build an exception with an empty message


RKCheckException

public RKCheckException(java.lang.String message)
Simple constructor. Build an exception by translating the specified message

Parameters:
message - message to translate

RKCheckException

public RKCheckException(java.lang.String specifier,
                        java.lang.String[] parts)
Simple constructor. Build an exception by translating and formating a message

Parameters:
specifier - format specifier (to be translated)
parts - to insert in the format (no translation)

RKCheckException

public RKCheckException(java.lang.Throwable cause)
Simple constructor. Build an exception from a cause

Parameters:
cause - cause of this exception

RKCheckException

public RKCheckException(java.lang.String message,
                        java.lang.Throwable cause)
Simple constructor. Build an exception from a message and a cause

Parameters:
message - message to translate
cause - cause of this exception

RKCheckException

public RKCheckException(java.lang.String specifier,
                        java.lang.String[] parts,
                        java.lang.Throwable cause)
Simple constructor. Build an exception from a message and a cause

Parameters:
specifier - format specifier (to be translated)
parts - to insert in the format (no translation)
cause - cause of this exception


Copyright © 2002-2004 Luc Maisonobe. All Rights Reserved.