clojure.lang
Class ExceptionInfo
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
clojure.lang.ExceptionInfo
- All Implemented Interfaces:
- IExceptionInfo, Serializable
public class ExceptionInfo
- extends 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
data
public final IPersistentMap data
ExceptionInfo
public ExceptionInfo(String s,
IPersistentMap data)
ExceptionInfo
public ExceptionInfo(String s,
IPersistentMap data,
Throwable throwable)
getData
public IPersistentMap getData()
- Specified by:
getData
in interface IExceptionInfo
toString
public String toString()
- Overrides:
toString
in class Throwable
Copyright © 2015. All Rights Reserved.