silverorange Code


Swat.SwatInvalidPropertyTypeException
/Swat/exceptions/SwatInvalidPropertyTypeException.php at line 14

Class SwatInvalidPropertyTypeException

Exception
└─SwatException
└─SwatInvalidPropertyTypeException

public class SwatInvalidPropertyTypeException
extends SwatException

Thrown when an invalid property type is used.

Copyright:
2006 silverorange
License:
http://www.gnu.org/copyleft/lesser.html LGPL License 2.1

Field Summary
protected mixed

$object

The object the property is invalid for.

protected string

$type

The name of the type that is invalid.

Fields inherited from Swat.SwatException
backtrace, class, displayer, logger
Constructor Summary

SwatInvalidPropertyTypeException(string message, integer code, mixed object, mixed type, string property)

Creates a new invalid class exception.

Method Summary
mixed

getObject()

Gets the object the property is invalid for.

string

getType()

Gets the name of the type that is invalid.

Methods inherited from Swat.SwatException
display, displayStyleSheet, formatSensitiveParam, formatValue, getArguments, getClass, getSummary, handle, isSensitiveParameter, log, process, setDisplayer, setLogger, setupHandler, toString, toXHTML, wasHandled

Field Detail

/Swat/exceptions/SwatInvalidPropertyTypeException.php at line 30

object

protected mixed $object = null

The object the property is invalid for


/Swat/exceptions/SwatInvalidPropertyTypeException.php at line 23

type

protected string $type = null

The name of the type that is invalid


Constructor Detail

/Swat/exceptions/SwatInvalidPropertyTypeException.php at line 43

SwatInvalidPropertyTypeException

public SwatInvalidPropertyTypeException(string message, integer code, mixed object, mixed type, string property)

Creates a new invalid class exception

Parameters:
message - the message of the exception.
code - the code of the exception.
object - the object the property is invalid for.
property - the name of the property that is invalid

Method Detail

/Swat/exceptions/SwatInvalidPropertyTypeException.php at line 59

getObject

public mixed getObject()

Gets the object the property is invalid for

Returns:
the object the property is invalid for.

/Swat/exceptions/SwatInvalidPropertyTypeException.php at line 72

getType

public string getType()

Gets the name of the type that is invalid

Returns:
the name of the type that is invalid.

silverorange Code