Package org.infinispan.commons
Class CacheConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.infinispan.commons.CacheException
-
- org.infinispan.commons.CacheConfigurationException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JmxDomainConflictException
public class CacheConfigurationException extends CacheException
An exception that represents an error in the configuration. This could be a parsing error or a logical error involving clashing configuration options or missing mandatory configuration elements.- Since:
- 4.0
- Author:
- Manik Surtani (manik@jboss.org)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CacheConfigurationException(Exception e)
CacheConfigurationException(String string)
CacheConfigurationException(String string, String erroneousAttribute)
Deprecated.CacheConfigurationException(String string, Throwable throwable)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addErroneousAttribute(String s)
Deprecated.static Optional<RuntimeException>
fromMultipleRuntimeExceptions(List<RuntimeException> exceptions)
List<String>
getErroneousAttributes()
Deprecated.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CacheConfigurationException
public CacheConfigurationException(Exception e)
-
CacheConfigurationException
public CacheConfigurationException(String string)
-
CacheConfigurationException
@Deprecated public CacheConfigurationException(String string, String erroneousAttribute)
Deprecated.
-
-
Method Detail
-
getErroneousAttributes
@Deprecated public List<String> getErroneousAttributes()
Deprecated.
-
addErroneousAttribute
@Deprecated public void addErroneousAttribute(String s)
Deprecated.
-
fromMultipleRuntimeExceptions
public static Optional<RuntimeException> fromMultipleRuntimeExceptions(List<RuntimeException> exceptions)
-
-