org.jpublish
Class ReservedNameException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--org.jpublish.JPublishRuntimeException
|
+--org.jpublish.ReservedNameException
- All Implemented Interfaces:
- java.io.Serializable
- public class ReservedNameException
- extends JPublishRuntimeException
Exception which is thrown when an action attempts to put a value into
the context using a reserved name.
- Author:
- Anthony Eden
- See Also:
- Serialized Form
Constructor Summary |
ReservedNameException(java.lang.String name)
Construct a ReservedNameException for the given name. |
ReservedNameException(java.lang.String message,
java.lang.String name)
Construct a ReservedNameException for the given name
with the given message. |
Method Summary |
java.lang.String |
getName()
Get the reserved name. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ReservedNameException
public ReservedNameException(java.lang.String name)
- Construct a ReservedNameException for the given name.
- Parameters:
name
- The reserved name
ReservedNameException
public ReservedNameException(java.lang.String message,
java.lang.String name)
- Construct a ReservedNameException for the given name
with the given message.
- Parameters:
message
- The error messagename
- The reserved name
getName
public java.lang.String getName()
- Get the reserved name.
- Returns:
- The reserved name
Copyright (C) 2001 Anthony Eden. All Rights Reserved.