silverorange Code


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

Class SwatInvalidSerializedDataException

Exception
└─SwatException
└─SwatInvalidSerializedDataException

public class SwatInvalidSerializedDataException
extends SwatException

Thrown when a serialized value is poisioned (does not match salted value)

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

Field Summary
protected string

$data

The unsafe serialized data.

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

SwatInvalidSerializedDataException(string message, integer code, mixed data)

Creates a new invalid serialized data exception.

Method Summary
string

getData()

Gets the unsafe serialized data.

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/SwatInvalidSerializedDataException.php at line 23

data

protected string $data = null

The unsafe serialized data


Constructor Detail

/Swat/exceptions/SwatInvalidSerializedDataException.php at line 35

SwatInvalidSerializedDataException

public SwatInvalidSerializedDataException(string message, integer code, mixed data)

Creates a new invalid serialized data exception

Parameters:
message - the message of the exception.
code - the code of the exception.
data - the unsafe serialized data.

Method Detail

/Swat/exceptions/SwatInvalidSerializedDataException.php at line 49

getData

public string getData()

Gets the unsafe serialized data

Returns:
the unsafe serialized data that triggered this exception.

silverorange Code