clojure.lang
Class ExceptionInfo
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
clojure.lang.ExceptionInfo
- All Implemented Interfaces:
- Serializable
public class ExceptionInfo
- extends RuntimeException
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()
toString
public String toString()
- Overrides:
toString
in class Throwable
Copyright © 2012. All Rights Reserved.