at.ac.tuwien.infosys.sm4all.copal.api
Class ContextException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by at.ac.tuwien.infosys.sm4all.copal.api.ContextException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AlreadyRegisteredException, FailedPublishingException, MalformedDocumentException, NotRegisteredException, QueryDestroyedException, RedefinitionOfQueryException

public class ContextException
extends java.lang.Exception

Base exception which all exceptions thrown by COPAL extend.

Author:
sanjin
See Also:
Serialized Form

Constructor Summary
ContextException(java.lang.String message)
          Create instance of context exception with the specified detail message.
ContextException(java.lang.String message, java.lang.Throwable cause)
          Create instance of context exception with the specified detail message and cause.
 
Method Summary
 
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

ContextException

public ContextException(java.lang.String message)
Create instance of context exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(Throwable).

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).

ContextException

public ContextException(java.lang.String message,
                        java.lang.Throwable cause)
Create instance of context exception with the specified detail message and cause. Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown.


Copyright © 2010 Distributed Systems Group, Vienna University of Technology. All Rights Reserved.