javax.cache.annotation
Class CacheAnnotationConfigurationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.cache.CacheException
                  extended by javax.cache.annotation.CacheAnnotationConfigurationException
All Implemented Interfaces:
Serializable

public class CacheAnnotationConfigurationException
extends CacheException

Thrown if an invalid cache annotation configuration is detected.

Version:
$Revision$
Author:
Eric Dalquist
See Also:
Serialized Form

Constructor Summary
CacheAnnotationConfigurationException()
          Constructs a new CacheAnnotationConfigurationException.
CacheAnnotationConfigurationException(String message)
          Constructs a new CacheAnnotationConfigurationException with a message string.
CacheAnnotationConfigurationException(String message, Throwable cause)
          Constructs a CacheAnnotationConfigurationException with a message string, and a base exception
CacheAnnotationConfigurationException(Throwable cause)
          Constructs a new CacheAnnotationConfigurationException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of 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

CacheAnnotationConfigurationException

public CacheAnnotationConfigurationException()
Constructs a new CacheAnnotationConfigurationException.

Since:
1.0

CacheAnnotationConfigurationException

public CacheAnnotationConfigurationException(String message)
Constructs a new CacheAnnotationConfigurationException with a message string.

Parameters:
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
Since:
1.0

CacheAnnotationConfigurationException

public CacheAnnotationConfigurationException(String message,
                                             Throwable cause)
Constructs a CacheAnnotationConfigurationException with a message string, and a base exception

Parameters:
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
Since:
1.0

CacheAnnotationConfigurationException

public CacheAnnotationConfigurationException(Throwable cause)
Constructs a new CacheAnnotationConfigurationException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for runtime exceptions that are little more than wrappers for other throwables.

Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
Since:
1.0


Copyright © 2013. All Rights Reserved.