Package com.atlassian.adf.model.ex
Class AdfException.ValueTypeMismatch
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.atlassian.adf.model.ex.AdfException
-
- com.atlassian.adf.model.ex.AdfException.PropertyException
-
- com.atlassian.adf.model.ex.AdfException.ValueTypeMismatch
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AdfException
public static class AdfException.ValueTypeMismatch extends AdfException.PropertyException
Thrown to indicate that a particular value could not be extracted from a field or attribute because it was not of the correct type.Note that this exception is only used for a few special cases where explicit checking of the type was required. In most cases, a value of the wrong type will just throw a
ClassCastException, instead.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.atlassian.adf.model.ex.AdfException
AdfException.DuplicateProperty, AdfException.EmptyProperty, AdfException.InvalidURI, AdfException.MissingProperty, AdfException.MissingType, AdfException.PropertyException, AdfException.UnexpectedRuntimeException, AdfException.UnsupportedEnumValue, AdfException.ValueTypeMismatch
-
-
Field Summary
-
Fields inherited from class com.atlassian.adf.model.ex.AdfException
MARK_PREFIX, MARKS_PREFIX, NODE_PREFIX
-
-
Constructor Summary
Constructors Constructor Description ValueTypeMismatch(String propertyName, String expectedType, String actualType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringactualType()StringexpectedType()-
Methods inherited from class com.atlassian.adf.model.ex.AdfException.PropertyException
propertyName
-
Methods inherited from class com.atlassian.adf.model.ex.AdfException
backtrace, frame, getPath, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-