Class MissingFieldException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.thoughtworks.xstream.core.BaseException
-
- com.thoughtworks.xstream.XStreamException
-
- com.thoughtworks.xstream.converters.ErrorWritingException
-
- com.thoughtworks.xstream.converters.reflection.ObjectAccessException
-
- com.thoughtworks.xstream.converters.reflection.MissingFieldException
-
- All Implemented Interfaces:
ErrorWriter,java.io.Serializable
public class MissingFieldException extends ObjectAccessException
Indicates a missing field or property creating an object.- Since:
- 1.4.2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MissingFieldException(java.lang.String className, java.lang.String fieldName)Construct a MissingFieldException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetClassName()Retrieve the name of the class with the missing field.java.lang.StringgetFieldName()Retrieve the name of the missing field.-
Methods inherited from class com.thoughtworks.xstream.converters.ErrorWritingException
add, get, getMessage, getShortMessage, keys, set
-
-