com.flexive.shared.exceptions
Class FxConstraintViolationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.flexive.shared.exceptions.FxApplicationException
              extended by com.flexive.shared.exceptions.FxConstraintViolationException
All Implemented Interfaces:
FxLocalizedException, java.io.Serializable

public class FxConstraintViolationException
extends FxApplicationException

Exception thrown if a constraint was violated (ie unique constraints)

Author:
Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.flexive.shared.exceptions.FxApplicationException
message
 
Constructor Summary
FxConstraintViolationException(FxApplicationException converted)
          Localized exception constructor
FxConstraintViolationException(org.apache.commons.logging.Log log, FxApplicationException converted)
          Localized exception constructor
FxConstraintViolationException(org.apache.commons.logging.Log log, java.lang.String key)
          Localized exception constructor
FxConstraintViolationException(org.apache.commons.logging.Log log, java.lang.String key, java.lang.Object... values)
          Localized exception constructor
FxConstraintViolationException(org.apache.commons.logging.Log log, java.lang.String message, java.lang.Throwable cause)
          Localized exception constructor
FxConstraintViolationException(org.apache.commons.logging.Log log, java.lang.Throwable cause)
          Localized exception constructor
FxConstraintViolationException(org.apache.commons.logging.Log log, java.lang.Throwable cause, java.lang.String key, java.lang.Object... values)
          Localized exception constructor
FxConstraintViolationException(java.lang.String key)
          Localized exception constructor
FxConstraintViolationException(java.lang.String key, java.lang.Object... values)
          Localized exception constructor
FxConstraintViolationException(java.lang.String message, java.lang.Throwable cause)
          Localized exception constructor
FxConstraintViolationException(java.lang.Throwable cause)
          Localized exception constructor
FxConstraintViolationException(java.lang.Throwable cause, java.lang.String key, java.lang.Object... values)
          Localized exception constructor
 
Method Summary
 
Methods inherited from class com.flexive.shared.exceptions.FxApplicationException
asRuntimeException, getAffectedXPath, getExceptionMessage, getMessage, getMessage, getMessage, getMessage, hasAffectedXPath, isMessageLogged, messageLogged, setAffectedXPath
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

FxConstraintViolationException

public FxConstraintViolationException(FxApplicationException converted)
Localized exception constructor

Parameters:
converted - the message to convert

FxConstraintViolationException

public FxConstraintViolationException(org.apache.commons.logging.Log log,
                                      FxApplicationException converted)
Localized exception constructor

Parameters:
log - Log to use
converted - exception to convert

FxConstraintViolationException

public FxConstraintViolationException(java.lang.String key,
                                      java.lang.Object... values)
Localized exception constructor

Parameters:
key - exception messge resource key
values - value parameters for resource message

FxConstraintViolationException

public FxConstraintViolationException(org.apache.commons.logging.Log log,
                                      java.lang.String key,
                                      java.lang.Object... values)
Localized exception constructor

Parameters:
log - Log to use
key - exception messge resource key
values - value parameters for resource message

FxConstraintViolationException

public FxConstraintViolationException(java.lang.Throwable cause,
                                      java.lang.String key,
                                      java.lang.Object... values)
Localized exception constructor

Parameters:
cause - causing exception
key - exception messge resource key
values - value parameters for resource message

FxConstraintViolationException

public FxConstraintViolationException(org.apache.commons.logging.Log log,
                                      java.lang.Throwable cause,
                                      java.lang.String key,
                                      java.lang.Object... values)
Localized exception constructor

Parameters:
log - Log to use
cause - causing message
key - exception messge resource key
values - value parameters for resource message

FxConstraintViolationException

public FxConstraintViolationException(java.lang.String key)
Localized exception constructor

Parameters:
key - exception messge resource key

FxConstraintViolationException

public FxConstraintViolationException(org.apache.commons.logging.Log log,
                                      java.lang.String key)
Localized exception constructor

Parameters:
log - Log to use
key - exception messge resource key

FxConstraintViolationException

public FxConstraintViolationException(java.lang.String message,
                                      java.lang.Throwable cause)
Localized exception constructor

Parameters:
message - resource key
cause - causing exception

FxConstraintViolationException

public FxConstraintViolationException(org.apache.commons.logging.Log log,
                                      java.lang.String message,
                                      java.lang.Throwable cause)
Localized exception constructor

Parameters:
log - Log to use
message - resource key
cause - exception cause

FxConstraintViolationException

public FxConstraintViolationException(java.lang.Throwable cause)
Localized exception constructor

Parameters:
cause - exception cause

FxConstraintViolationException

public FxConstraintViolationException(org.apache.commons.logging.Log log,
                                      java.lang.Throwable cause)
Localized exception constructor

Parameters:
log - Log to use
cause - causing exception