Package org.apache.myfaces.context
Class InvalidFileException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.apache.myfaces.context.InvalidFileException
-
- All Implemented Interfaces:
Serializable
public class InvalidFileException extends IOException
Exception thrown when a Facelet resource path fails security or mapping validation.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInvalidFileException.ReasonCategorizes rejection reasons.
-
Constructor Summary
Constructors Constructor Description InvalidFileException(InvalidFileException.Reason reason, String message)InvalidFileException(InvalidFileException.Reason reason, String message, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InvalidFileException.ReasongetReason()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidFileException
public InvalidFileException(InvalidFileException.Reason reason, String message)
-
InvalidFileException
public InvalidFileException(InvalidFileException.Reason reason, String message, Throwable cause)
-
-
Method Detail
-
getReason
public InvalidFileException.Reason getReason()
-
-