Top Description Fields Constructors
uk.ac.ed.ph.snuggletex

public final Class SnuggleLogicException

extends RuntimeException
Class Inheritance

This RuntimeException is thrown if SnuggleTeX has detected something amiss with its logic. This must NOT be used to indicate an error in client-supplied input.

This is unchecked, since it is not expected to occur in normal circumstances and users of SnuggleTeX can't really do anything useful to alleviate the underlying problem!

SnuggleTeX Developer Note

Throw this Exception when SnuggleTeX's code does silly things. (E.g. unexpected switch case, impossible state.) Raise an error using SnuggleSession#registerError(InputError) if the error is down to bad client input.

Any occurrences of this error "in the wild" indicate a bug with SnuggleTeX that needs to be diagnosed and fixed!

Author
David McKain
Version
$Revision:179 $
See Also
SnuggleRuntimeException

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
public
public
public

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

SnuggleLogicExceptionback to summary
public SnuggleLogicException()
SnuggleLogicExceptionback to summary
public SnuggleLogicException(String message, Throwable cause)
SnuggleLogicExceptionback to summary
public SnuggleLogicException(String message)
SnuggleLogicExceptionback to summary
public SnuggleLogicException(Throwable cause)