public final class UnresolvedError extends ApiError
ApiError which represents a VMODL2 error that
was reported but couldn't be resolved.
This is only relevant on the client side and is used to represent
errors (i.e. ErrorValue names) that are unknown for the
client/stub.
| Constructor and Description |
|---|
UnresolvedError(ErrorValue errorValue) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Structure> |
_convertTo(java.lang.Class<T> clazz)
Converts this structure into an instance of the provided class structure
if possible.
|
java.lang.String |
_getCanonicalName()
Returns the canonical name of the structure.
|
ErrorValue |
_getDataValue()
Returns this
Structure represented in the dynamic
DataValue model. |
boolean |
_hasTypeNameOf(java.lang.Class<? extends Structure> clazz)
Checks that the runtime type name matches the type name from the binding
class.
|
public UnresolvedError(ErrorValue errorValue)
public ErrorValue _getDataValue()
StructureStructure represented in the dynamic
DataValue model.
Attempts to change the returned StructValue
representation are not required to change the state of this structure.
Actually the behavior is implementation dependent and is unspecified.
In general the returned value shouldn't be changed.
StructValue representing this structurepublic boolean _hasTypeNameOf(java.lang.Class<? extends Structure> clazz)
Structureclazz - type of the result structure. cannot be null.public <T extends Structure> T _convertTo(java.lang.Class<T> clazz)
Structureclazz - type of the result structure. cannot be null.CoreException is thrown otherwise.public java.lang.String _getCanonicalName()
Structureorg.example.FooBar would turn into
org.example.foo_bar.