Package oracle.dbtools.plugin.api.types
Class TypeDependencyNotAvailableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- oracle.dbtools.plugin.api.types.TypeDependencyNotAvailableException
-
- All Implemented Interfaces:
java.io.Serializable
public class TypeDependencyNotAvailableException extends java.lang.RuntimeException
Indicates an instance of a type which some other type depends on (via it'sInject
annotated constructor is not available in the current scope- Since:
- 19.3.0
- Author:
- cdivilly
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TypeDependencyNotAvailableException
from(TypeQualifier<?> type)
Produce aTypeDependencyNotAvailableException
instance for the specifiedTypeQualifier
static TypeDependencyNotAvailableException
from(TypeQualifier<?> type, java.lang.Throwable cause)
Produce aTypeDependencyNotAvailableException
instance for the specifiedTypeQualifier
TypeQualifier<?>
qualifier()
The injection qualifier
-
-
-
Method Detail
-
qualifier
public TypeQualifier<?> qualifier()
The injection qualifier- Returns:
TypeQualifier
instance
-
from
public static TypeDependencyNotAvailableException from(TypeQualifier<?> type)
Produce aTypeDependencyNotAvailableException
instance for the specifiedTypeQualifier
- Parameters:
type
- The qualified type that could not be resolved- Returns:
TypeDependencyNotAvailableException
instance
-
from
public static TypeDependencyNotAvailableException from(TypeQualifier<?> type, java.lang.Throwable cause)
Produce aTypeDependencyNotAvailableException
instance for the specifiedTypeQualifier
- Parameters:
type
- The qualified type that could not be resolvedcause
- The exception that occurred whilst attempting to resolve theTypeQualifier
- Returns:
TypeDependencyNotAvailableException
instance
-
-