org.compass.core.json.impl
Class DefaultJSONException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.compass.core.util.NestedRuntimeException
                  extended by org.compass.core.json.impl.DefaultJSONException
All Implemented Interfaces:
Serializable

public class DefaultJSONException
extends NestedRuntimeException

The JSONException is thrown by the JSON.org classes then things are amiss.

Version:
2
Author:
JSON.org
See Also:
Serialized Form

Constructor Summary
DefaultJSONException(String message)
          Constructs a JSONException with an explanatory message.
DefaultJSONException(Throwable t)
           
 
Method Summary
 Throwable getCause()
          Return the nested cause, or null if none.
 
Methods inherited from class org.compass.core.util.NestedRuntimeException
contains, getMessage, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultJSONException

public DefaultJSONException(String message)
Constructs a JSONException with an explanatory message.

Parameters:
message - Detail about the reason for the exception.

DefaultJSONException

public DefaultJSONException(Throwable t)
Method Detail

getCause

public Throwable getCause()
Description copied from class: NestedRuntimeException
Return the nested cause, or null if none.

Overrides:
getCause in class NestedRuntimeException


Copyright (c) 2004-2008 The Compass Project.