com.bea.content
Class ConstraintViolationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.bea.content.RepositoryException
              extended by com.bea.content.ConstraintViolationException
All Implemented Interfaces
Serializable

public class ConstraintViolationException
extends RepositoryException

Exception thrown when an action would violate a constraint on repository structure. For example, when an attempt is made to persistently add an item to a node that would violate that node's node type.

See Also
Serialized Form

Constructor Summary
ConstraintViolationException(String message)
           
ConstraintViolationException(String message, Throwable cause)
           
ConstraintViolationException(String message, Throwable cause, boolean log)
           
ConstraintViolationException(Throwable cause)
           
 
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

ConstraintViolationException

public ConstraintViolationException(String message)

ConstraintViolationException

public ConstraintViolationException(String message,
                                    Throwable cause)

ConstraintViolationException

public ConstraintViolationException(Throwable cause)

ConstraintViolationException

public ConstraintViolationException(String message,
                                    Throwable cause,
                                    boolean log)


Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.