anvil
Class ForgingException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--anvil.ForgingException
All Implemented Interfaces:
java.io.Serializable

public class ForgingException
extends java.lang.Exception

Generic exception indicating error situation.

See Also:
Serialized Form

Constructor Summary
ForgingException(ErrorListener errorListener)
          Constructs LayoutException
 
Method Summary
 ErrorListener getErrorListener()
          Returns the error listener containing list of all errors and their respective locations.
 java.lang.String toString()
           
 
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
 

Constructor Detail

ForgingException

public ForgingException(ErrorListener errorListener)
Constructs LayoutException

Parameters:
errorListener - Error listener
Method Detail

getErrorListener

public ErrorListener getErrorListener()
Returns the error listener containing list of all errors and their respective locations.

Returns:
ErrorListener

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable