org.codehaus.jackson
Class JsonGenerationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.codehaus.jackson.JsonProcessingException
                  extended by org.codehaus.jackson.JsonGenerationException
All Implemented Interfaces:
Serializable

public class JsonGenerationException
extends JsonProcessingException

Exception type for exceptions during JSON writing, such as trying to output content in wrong context (non-matching end-array or end-object, for example).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.codehaus.jackson.JsonProcessingException
mLocation
 
Constructor Summary
JsonGenerationException(String msg)
           
JsonGenerationException(String msg, Throwable rootCause)
           
JsonGenerationException(Throwable rootCause)
           
 
Method Summary
 
Methods inherited from class org.codehaus.jackson.JsonProcessingException
getLocation, getMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JsonGenerationException

public JsonGenerationException(Throwable rootCause)

JsonGenerationException

public JsonGenerationException(String msg)

JsonGenerationException

public JsonGenerationException(String msg,
                               Throwable rootCause)