com.leanengine
Class LeanException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.leanengine.LeanException
All Implemented Interfaces:
java.io.Serializable

public class LeanException
extends java.io.IOException

Exception wrapping the LeanError.

See Also:
Serialized Form

Method Summary
 LeanError getError()
          Returns the wrapped LeanError.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getError

public LeanError getError()
Returns the wrapped LeanError.

Returns:
The LeanError that this exception is wrapping.