Exception
└─SwatException
└─SwatInvalidSerializedDataException
public class SwatInvalidSerializedDataException
extends SwatException
| Field Summary | |
|---|---|
| protected string | 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 | |
protected string $data = null
The unsafe serialized data
public SwatInvalidSerializedDataException(string message, integer code, mixed data)
Creates a new invalid serialized data exception
message - the message of the exception.code - the code of the exception.data - the unsafe serialized data.public string getData()
Gets the unsafe serialized data
Thrown when a serialized value is poisioned (does not match salted value)