org.chorem.jtimer.data
Class DataViolationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.chorem.jtimer.data.DataViolationException
All Implemented Interfaces:
Serializable

public class DataViolationException
extends RuntimeException

Exception thrown when a data violation is detected.

Version:
$Revision: 2607 $ Last update : $Date: 2009-06-18 17:19:19 +0200 (jeu., 18 juin 2009) $ By : $Author: echatellier $
Author:
chatellier
See Also:
Serialized Form

Field Summary
protected  String exceptionKey
          Exception key message;
 
Constructor Summary
DataViolationException(String message, String exceptionKey)
          Constructor with text message.
DataViolationException(String message, String exceptionKey, Throwable cause)
          Constructor with text message and cause.
 
Method Summary
 String getExceptionKey()
          Get exception key.
 
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
 

Field Detail

exceptionKey

protected String exceptionKey
Exception key message;

Constructor Detail

DataViolationException

public DataViolationException(String message,
                              String exceptionKey)
Constructor with text message.

Parameters:
message - text message
exceptionKey - exception key

DataViolationException

public DataViolationException(String message,
                              String exceptionKey,
                              Throwable cause)
Constructor with text message and cause.

Parameters:
message - text message
exceptionKey - exception key
cause - parent cause
Method Detail

getExceptionKey

public String getExceptionKey()
Get exception key.

Returns:
the exceptionKey


Copyright © 2007-2012 CodeLutin. All Rights Reserved.