Name

ValidatorException

Synopsis

An instance of this class is thrown by a Validator implementation to signal a validation error.

Synopsis

Class name:

javax.faces.validator.ValidatorException

Extends:

javax.faces.FacesException

Implements:

java.io.Serializable

Constructors

public ValidatorException(java.faces.application.FacesMessage message)

Creates an instance with the specified message.

public ValidatorException(java.faces.application.FacesMessage message, Throwable rootCause)

Creates an instance with the specified message and root cause.

Methods

public java.faces.application.FacesMessage getFacesMessage()

Returns the FacesMessage instance, or null if none is set.

Get JavaServer Faces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.