org.extex.interpreter.exception
Class ErrorLimitException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.extex.core.exception.GeneralException
              extended by org.extex.core.exception.helping.HelpingException
                  extended by org.extex.interpreter.exception.ErrorLimitException
All Implemented Interfaces:
java.io.Serializable

public class ErrorLimitException
extends HelpingException

This exception s thrown when the error count exceeds the given limit.

Version:
$Revision$
Author:
Gerd Neugebauer
See Also:
Serialized Form

Field Summary
protected static long serialVersionUID
          The constant serialVersionUID contains the id for serialization.
 
Constructor Summary
ErrorLimitException(long limit)
          Creates a new object.
 
Method Summary
 java.lang.String getLocalizedMessage()
          Creates a localized description of this throwable.
 java.lang.String getMessage()
          Returns the detail message string of this throwable.
 
Methods inherited from class org.extex.core.exception.helping.HelpingException
getHelp
 
Methods inherited from class org.extex.core.exception.GeneralException
getLocalizer, isProcessed, setProcessed
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

protected static final long serialVersionUID
The constant serialVersionUID contains the id for serialization.

See Also:
Constant Field Values
Constructor Detail

ErrorLimitException

public ErrorLimitException(long limit)
Creates a new object.

Parameters:
limit - the maximal allowed number of errors
Method Detail

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Creates a localized description of this throwable.

Overrides:
getLocalizedMessage in class HelpingException
Returns:
the localized description of this throwable
See Also:
Throwable.getLocalizedMessage()

getMessage

public java.lang.String getMessage()
Returns the detail message string of this throwable.

Overrides:
getMessage in class java.lang.Throwable
Returns:
the detail message string of this Throwable instance (which may be null).
See Also:
Throwable.getMessage()