Top Description Fields Constructors Methods
jakarta.faces.application

public Class ProtectedViewException

extends FacesException
Class Inheritance
Imports
jakarta.faces.FacesException

This exception is thrown by the runtime when a violation of the view protection mechanism is encountered.

Since
2.2

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
ProtectedViewException()

Construct a new exception with no detail message or root cause.

public
ProtectedViewException(String
The detail message for this exception
message
)

Construct a new exception with the specified detail message and no root cause.

public
ProtectedViewException(Throwable
The root cause for this exception
cause
)

Construct a new exception with the specified root cause.

public
ProtectedViewException(String
The detail message for this exception
message
,
Throwable
The root cause for this exception
cause
)

Construct a new exception with the specified detail message and root cause.

Method Summary

Inherited from jakarta.faces.FacesException:
getCause

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides jakarta.faces.FacesException.serialVersionUID.

Constructor Detail

ProtectedViewExceptionback to summary
public ProtectedViewException()

Construct a new exception with no detail message or root cause.

ProtectedViewExceptionback to summary
public ProtectedViewException(String message)

Construct a new exception with the specified detail message and no root cause.

Parameters
message:String

The detail message for this exception

ProtectedViewExceptionback to summary
public ProtectedViewException(Throwable cause)

Construct a new exception with the specified root cause. The detail message will be set to (cause == null ? null : cause.toString()

Parameters
cause:Throwable

The root cause for this exception

ProtectedViewExceptionback to summary
public ProtectedViewException(String message, Throwable cause)

Construct a new exception with the specified detail message and root cause.

Parameters
message:String

The detail message for this exception

cause:Throwable

The root cause for this exception