clojure.lang
Class ExceptionInfo
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
clojure.lang.ExceptionInfo
- All Implemented Interfaces:
- IExceptionInfo, java.io.Serializable
public class ExceptionInfo
- extends java.lang.RuntimeException
- implements IExceptionInfo
Exception that carries data (a map) as additional payload. Clojure programs that need
richer semantics for exceptions should use this in lieu of defining project-specific
exception classes.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
data
public final IPersistentMap data
ExceptionInfo
public ExceptionInfo(java.lang.String s,
IPersistentMap data)
ExceptionInfo
public ExceptionInfo(java.lang.String s,
IPersistentMap data,
java.lang.Throwable throwable)
getData
public IPersistentMap getData()
- Specified by:
getData
in interface IExceptionInfo
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable
Copyright © 2014. All Rights Reserved.