Class TargetingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.azure.spring.cloud.feature.manager.TargetingException
-
- All Implemented Interfaces:
Serializable
public class TargetingException extends RuntimeException
This class defines a custom exception type for when an expected Filter is not found when checking if a Feature is enabled. A FilterNotFoundException is only thrown when failfast is enabled, which is true by default.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TargetingException(String message)TargetingExcetion for the Targeting Filter.TargetingException(String message, Throwable cause)Creates a new instance of the FilterNotFoundException
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TargetingException
public TargetingException(String message)
TargetingExcetion for the Targeting Filter.- Parameters:
message- Exception error message
-
-