com.tc.injection.exceptions
Class UnsupportedInjectedDsoInstanceTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tc.injection.exceptions.UnsupportedInjectedDsoInstanceTypeException
- All Implemented Interfaces:
- java.io.Serializable
public class UnsupportedInjectedDsoInstanceTypeException
- extends java.lang.RuntimeException
This exception is thrown when DSO doesn't support the injection type that is specified for a field.
- Since:
- 3.0.0
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getContainingClassName()
Returns the name of the class that contains the field with an unsupported injection type. |
java.lang.String |
getFieldName()
Returns the name the field with an unsupported injection type. |
java.lang.String |
getUnsupportedType()
Returns the unsupported injection type. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UnsupportedInjectedDsoInstanceTypeException
public UnsupportedInjectedDsoInstanceTypeException(java.lang.String containingClassName,
java.lang.String fieldName,
java.lang.String type)
getContainingClassName
public java.lang.String getContainingClassName()
- Returns the name of the class that contains the field with an unsupported injection type.
- Returns:
- the name of the field's class
getFieldName
public java.lang.String getFieldName()
- Returns the name the field with an unsupported injection type.
- Returns:
- the name of the field
getUnsupportedType
public java.lang.String getUnsupportedType()
- Returns the unsupported injection type.
- Returns:
- the unsupported injection type
Copyright © 2010 Terracotta, Inc.. All Rights Reserved.