com.thoughtworks.xstream.converters.reflection
Class NonExistentFieldException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.thoughtworks.xstream.core.BaseException
                  extended by com.thoughtworks.xstream.XStreamException
                      extended by com.thoughtworks.xstream.converters.reflection.ObjectAccessException
                          extended by com.thoughtworks.xstream.converters.reflection.NonExistentFieldException
All Implemented Interfaces:
java.io.Serializable

public class NonExistentFieldException
extends ObjectAccessException

Indicates that field/property didn't exist in classes (as opposed to what's implied in XML.)

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Constructor Summary
NonExistentFieldException(java.lang.String message, java.lang.String fieldName)
           
NonExistentFieldException(java.lang.String message, java.lang.Throwable cause, java.lang.String fieldName)
           
 
Method Summary
 java.lang.String getFieldName()
           
 
Methods inherited from class com.thoughtworks.xstream.XStreamException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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
 

Constructor Detail

NonExistentFieldException

public NonExistentFieldException(java.lang.String message,
                                 java.lang.String fieldName)

NonExistentFieldException

public NonExistentFieldException(java.lang.String message,
                                 java.lang.Throwable cause,
                                 java.lang.String fieldName)
Method Detail

getFieldName

public java.lang.String getFieldName()


Copyright © 2004-2012 XStream. All Rights Reserved.