consciouscode.seedling
Class SeedlingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by consciouscode.seedling.SeedlingException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConfigLoadingException, EvaluationException, InjectionException, NodeException, NodeProvisioningException, SyntaxException, TypeConversionException

public class SeedlingException
extends Exception

Root class of all Seedling exceptions.

See Also:
Serialized Form

Constructor Summary
protected SeedlingException()
          Constructor for subclasses that override getMessage().
  SeedlingException(String reason)
           
  SeedlingException(String reason, Throwable cause)
           
  SeedlingException(Throwable cause)
           
 
Method Summary
 String getMessage()
           
 String getReason()
           
protected  void renderReasonAndCause(StringBuilder buffer)
          Render the reason (String) and cause (Throwable) at the end of a buffer.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SeedlingException

protected SeedlingException()
Constructor for subclasses that override getMessage().


SeedlingException

public SeedlingException(String reason,
                         Throwable cause)

SeedlingException

public SeedlingException(String reason)

SeedlingException

public SeedlingException(Throwable cause)
Method Detail

getReason

public String getReason()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

renderReasonAndCause

protected void renderReasonAndCause(StringBuilder buffer)
Render the reason (String) and cause (Throwable) at the end of a buffer. Subclasses can use this if they override getMessage().



Copyright © 2001–2012 Todd V. Jonker. All Rights Reserved.