getErrorMessage()

Returns a String that contains an error message.

Signature

public String getErrorMessage()

Return Value

Type: String

Usage

Note that the error message won’t make a round trip through a Visualforce view state, because exceptions can’t be serialized.

Previous
Next