Class CayenneException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.cayenne.CayenneException
All Implemented Interfaces:
Serializable

@Deprecated
public class CayenneException
extends Exception
Deprecated.
since 4.1 use CayenneRuntimeException instead
A generic checked exception that may be thrown by Cayenne framework. All checked exceptions in Cayenne inherit from this class.
See Also:
Serialized Form
  • Constructor Details

    • CayenneException

      public CayenneException()
      Deprecated.
      Creates new CayenneException without detail message.
    • CayenneException

      public CayenneException​(String messageFormat, Object... messageArgs)
      Deprecated.
      Constructs an CayenneException with the specified detail message.
      Parameters:
      messageFormat - the detail message format string.
    • CayenneException

      public CayenneException​(Throwable cause)
      Deprecated.
      Constructs an CayenneException that wraps a cause thrown elsewhere.
    • CayenneException

      public CayenneException​(String messageFormat, Throwable cause, Object... messageArgs)
      Deprecated.
  • Method Details