org.apache.slide.macro
Class MacroException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.apache.slide.common.SlideException
                    |
                    +--org.apache.slide.macro.MacroException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CopyMacroException, DeleteMacroException

public class MacroException
extends SlideException

Macro exception.

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

Constructor Summary
MacroException(java.lang.String message)
           
 
Method Summary
(package private)  void addException(SlideException exception)
          Add a new nested exception.
 java.util.Enumeration enumerateExceptions()
          Enumerate nested exceptions.
(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

MacroException

public MacroException(java.lang.String message)
Method Detail

addException

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

enumerateExceptions

public java.util.Enumeration enumerateExceptions()
Enumerate nested exceptions.
Returns:
Enumeration nested exceptions list

isEmpty

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

toString

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