Class Index

Classes


v1.2.1

Exception

This class encapsulates information in exceptions thrown by various methods in the SequelSphere API. When thrown due to SQL syntax problems, the method Exception#getVerboseErrorMessage will returned a detailed explanation, including the position of the syntax error suitable for display in a <pre></pre> HTML clause.

Summary
Constructor Attributes Constructor Name and Description
This encapulates information in exceptions thrown by various database methods.
Method Summary
Method Attributes Method Name and Description
Returns a brief message describing why the exception was thrown.
Returns a verbose HTML error message describing why the exception was thrown.
Detail
Exception ()
This encapulates information in exceptions thrown by various database methods.
Method Detail
{string} getMessage ()
Returns a brief message describing why the exception was thrown.
Returns:
{string} A brief message describing why the exception was thrown.
See:
Exception#getVerboseErrorMessage

{HTML} getVerboseErrorMessage ()
Returns a verbose HTML error message describing why the exception was thrown. For SQL parsing exceptions, this will contain the position of the error.
Returns:
{HTML} A verbose HTML error message describing why the exception was thrown.
See:
Exception#getMessage

©2012 Sequel Sphere, LLC.