public class InvalidFileNameException extends java.lang.RuntimeException
Constructor and Description |
---|
InvalidFileNameException(java.lang.String pName,
java.lang.String pMessage)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the invalid file name.
|
public InvalidFileNameException(java.lang.String pName, java.lang.String pMessage)
pName
- The file name causing the exception.pMessage
- A human readable error message.public java.lang.String getName()