org.apache.slide.common
Class NamespaceException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.apache.slide.common.SlideException
                    |
                    +--org.apache.slide.common.NamespaceException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ServicesInitializationFailedException, ServicesShutDownFailedException

public class NamespaceException
extends SlideException

Namespace exception.

Version:
$Revision: 1.3 $
Author:
Remy Maucherat
See Also:
Serialized Form

Constructor Summary
NamespaceException(java.lang.String message)
          Constructor.
 
Method Summary
(package private)  void addException(SlideException exception)
          Add an exception to the nested exception.
(package private)  boolean isEmpty()
          Returns true if no exceptions have been put in this exception.
 java.lang.String toString()
          Displays the exception message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NamespaceException

public NamespaceException(java.lang.String message)
Constructor.
Parameters:
message - Exception message
Method Detail

toString

public java.lang.String toString()
Displays the exception message.
Overrides:
toString in class java.lang.Throwable
Returns:
String Message

addException

void addException(SlideException exception)
Add an exception to the nested exception.
Parameters:
exception - Exception to be added

isEmpty

boolean isEmpty()
Returns true if no exceptions have been put in this exception.
Returns:
boolean