Class UnknownCacheNameException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.quarkus.cache.deployment.exception.UnknownCacheNameException
-
- All Implemented Interfaces:
Serializable
public class UnknownCacheNameException extends RuntimeException
This exception is thrown at build time during the validation phase if a field, a constructor or a method parameter annotated with@CacheNameis referencing an unknown cache name. A cache name is unknown if it is not used in any@CacheInvalidate,@CacheInvalidateAllor@CacheResultannotation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownCacheNameException(org.jboss.jandex.DotName className, String cacheName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCacheName()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-