au.com.prunge.jgenfile
Class InvalidItemNameException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--au.com.prunge.jgenfile.JGenFileException
                          |
                          +--au.com.prunge.jgenfile.InvalidItemNameException
All Implemented Interfaces:
Serializable

public class InvalidItemNameException
extends JGenFileException

An exception that indicates that an item name was invalid.

Version:
1.0
Author:
Peter Runge
See Also:
Serialized Form

Constructor Summary
InvalidItemNameException(String itemName)
          Constructs an InvalidItemNameException.
InvalidItemNameException(String itemName, String s)
          Constructs an InvalidItemNameException with a detail message.
InvalidItemNameException(String itemName, String s, Throwable cause)
          Constructs an InvalidItemNameException with a detail message and cause.
InvalidItemNameException(String itemName, Throwable cause)
          Constructs an InvalidItemNameException with a cause.
 
Method Summary
 String getItemName()
          Returns the item name that was invalid.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidItemNameException

public InvalidItemNameException(String itemName)
Constructs an InvalidItemNameException.

Parameters:
itemName - the name of the item that was invalid.

InvalidItemNameException

public InvalidItemNameException(String itemName,
                                String s)
Constructs an InvalidItemNameException with a detail message.

Parameters:
itemName - the name of the item that was invalid.
s - the detail message.

InvalidItemNameException

public InvalidItemNameException(String itemName,
                                Throwable cause)
Constructs an InvalidItemNameException with a cause.

Parameters:
itemName - the name of the item that was invalid.
cause - the cause of this exception.

InvalidItemNameException

public InvalidItemNameException(String itemName,
                                String s,
                                Throwable cause)
Constructs an InvalidItemNameException with a detail message and cause.

Parameters:
itemName - the name of the item that was invalid.
s - the detail message.
cause - the cause of this exception.
Method Detail

getItemName

public String getItemName()
Returns the item name that was invalid.

Returns:
the item name that was invalid.