Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Alzabo::Exceptions(3) User Contributed Perl DocumentationAlzabo::Exceptions(3)

NAME
       Alzabo::Exceptions - Creates all	exception subclasses used in Alzabo.

SYNOPSIS
	 use Alzabo::Exceptions;

DESCRIPTION
       Using this class	creates	all the	exceptions classes used	by Alzabo (via
       the "Exception::Class" class).

       See "Exception::Class" for more information on how this is done.

EXCEPTION CLASSES
       o   Alzabo::Exception

	   This	is the base class for all exceptions generated within Alzabo
	   (all	exceptions should return true for
	   "$@->isa('Alzabo::Exception')" except those that are	generated via
	   internal Perl errors).

       o   Alzabo::Exception::Driver

	   An error occured while accessing a database.	 See "Alzabo::Driver"
	   for more details.

       o   Alzabo::Exception::Eval

	   An attempt to eval something	returned an error.

       o   Alzabo::Exception::Logic

	   Alzabo was asked to do something logically impossible, like
	   retrieve rows for a table without a primary key.

       o   Alzabo::Exception::NoSuchRow

	   An attempt was made to fetch	data from the database with a primary
	   key that does not actually exist in the specified table.

       o   Alzabo::Exception::NotNullable

	   An attempt was made to set a	non-nullable column to "NULL".	The
	   "column_name", "table_name",	and "schema_name" fields can be	used
	   to identify the exact column.

       o   Alzabo::Exception::Panic

	   This	exception is thrown when something completely unexpected
	   happens (think Monty	Python).

       o   Alzabo::Exception::Params

	   This	exception is thrown when there is a problem with the
	   parameters passed to	a method or function.  These problems can
	   include missing parameters, invalid values, etc.

       o   Alzabo::Exception::RDBMSRules

	   A rule for the relevant RDBMS was violated (bad schema name,	table
	   name, column	attribute, etc.)

       o   Alzabo::Exception::ReferentialIntegrity

	   An insert/update/delete was attempted that would violate
	   referential integrity constraints.

       o   Alzabo::Exception::SQL

	   An error thrown when	there is an attempt to generate	invalid	SQL
	   via the Alzabo::SQLMaker module.

       o   Alzabo::Exception::Storable

	   A error when	trying to freeze, thaw,	or clone an object using
	   Storable.

       o   Alzabo::Exception::System

	   Some	sort of	system call (file read/write, stat, etc.) failed.

       o   Alzabo::Exception::VirtualMethod

	   A virtual method was	called.	 This indicates	that this method
	   should be subclassed.

AUTHOR
       Dave Rolsky, <autarch@urth.org>

perl v5.24.1			  2017-07-02		 Alzabo::Exceptions(3)

NAME | SYNOPSIS | DESCRIPTION | EXCEPTION CLASSES | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Alzabo::Exceptions&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help