Exception
└─SwatException
└─SwatInvalidPropertyTypeException
public class SwatInvalidPropertyTypeException
extends SwatException
| Field Summary | |
|---|---|
| protected mixed | The object the property is invalid for. |
| protected string | 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 | 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 | |
protected mixed $object = null
The object the property is invalid for
protected string $type = null
The name of the type that is invalid
public SwatInvalidPropertyTypeException(string message, integer code, mixed object, mixed type, string property)
Creates a new invalid class exception
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 invalidpublic mixed getObject()
Gets the object the property is invalid for
public string getType()
Gets the name of the type that is invalid
Thrown when an invalid property type is used.