TargetingException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - java.
lang. RuntimeException - com.
azure. spring. cloud. feature. management. models. TargetingException
- com.
- java.
- java.
- java.
public final 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.
Constructor Summary
Constructor | Description |
---|---|
TargetingException(String message) |
Targeting |
TargetingException(String message, Throwable cause) |
Creates a new instance of the Filter |
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
addSuppressed
fillInStackTrace
getCause
getLocalizedMessage
getMessage
getStackTrace
getSuppressed
initCause
printStackTrace
printStackTrace
printStackTrace
setStackTrace
toString
Constructor Details
TargetingException
public TargetingException(String message)
TargetingException for the Targeting Filter.
Parameters:
message
- Exception error message
TargetingException
public TargetingException(String message, Throwable cause)
Creates a new instance of the FilterNotFoundException
Parameters:
message
- the error message.
cause
- the original error thrown, typically of NoSuchBeanDefinitionException type.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Java