org.apache.jackrabbit.ocm.nodemanagement.exception
Class BaseNodeManagementException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.jackrabbit.ocm.nodemanagement.exception.BaseNodeManagementException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NamespaceCreationException, NodeTypeCreationException, NodeTypeRemovalException, OperationNotSupportedException

public class BaseNodeManagementException
extends Exception

Base exception for all JCR Node Type Management exceptions.

Author:
Oliver Kiessler
See Also:
Serialized Form

Constructor Summary
BaseNodeManagementException()
          Creates a new instance of BaseNodeManagementException.
BaseNodeManagementException(Exception rootException)
          Creates a new instance of BaseNodeManagementException.
BaseNodeManagementException(String message)
          Creates a new instance of BaseNodeManagementException.
 
Method Summary
 Exception getWrappedException()
          Getter for property wrappedException.
 void printStackTrace(PrintStream ps)
           
 void printStackTrace(PrintWriter pw)
           
 void setWrappedException(Exception object)
          Setter for property wrappedException.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseNodeManagementException

public BaseNodeManagementException()
Creates a new instance of BaseNodeManagementException.


BaseNodeManagementException

public BaseNodeManagementException(String message)
Creates a new instance of BaseNodeManagementException.

Parameters:
message - Exception message

BaseNodeManagementException

public BaseNodeManagementException(Exception rootException)
Creates a new instance of BaseNodeManagementException.

Parameters:
rootException - Root Exception
Method Detail

getWrappedException

public Exception getWrappedException()
Getter for property wrappedException.

Returns:
wrappedException

setWrappedException

public void setWrappedException(Exception object)
Setter for property wrappedException.

Parameters:
object - wrappedException

printStackTrace

public void printStackTrace(PrintStream ps)
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintWriter pw)
Overrides:
printStackTrace in class Throwable


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.