|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.io.IOException | +--au.com.prunge.jgenfile.JGenFileException | +--au.com.prunge.jgenfile.ItemNameInUseException
An exception that occurs when an attempt is made to rename or create an item with a name that another item in the same directory already has.
Constructor Summary | |
ItemNameInUseException(String itemName)
Constructs an ItemNameInUseException . |
|
ItemNameInUseException(String itemName,
String s)
Constructs a ItemNameInUseException
with a detail message. |
|
ItemNameInUseException(String itemName,
String s,
Throwable cause)
Constructs a ItemNameInUseException
with a detail message and cause. |
|
ItemNameInUseException(String itemName,
Throwable cause)
Constructs an ItemNameInUseException
with a cause. |
Method Summary | |
String |
getItemName()
Returns the item name that was in use. |
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 |
public ItemNameInUseException(String itemName)
ItemNameInUseException
.
itemName
- the name of the item that was in use.public ItemNameInUseException(String itemName, String s)
ItemNameInUseException
with a detail message.
itemName
- the name of the item that was in use.s
- the detail message.public ItemNameInUseException(String itemName, Throwable cause)
ItemNameInUseException
with a cause.
itemName
- the name of the item that was in use.cause
- the cause of this exception.public ItemNameInUseException(String itemName, String s, Throwable cause)
ItemNameInUseException
with a detail message and cause.
itemName
- the name of the item that was in use.s
- the detail message.cause
- the cause of this exception.Method Detail |
public String getItemName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |