org.mmbase.bridge
Class BridgeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.mmbase.bridge.BridgeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AlreadyExistsException, NotFoundException

public class BridgeException
extends java.lang.RuntimeException

This exception gets thrown when something goes wrong on the MMCI.

Version:
$Id: BridgeException.java,v 1.7 2002/10/10 14:45:43 eduard Exp $
Author:
Pierre van Rooden
See Also:
Serialized Form

Constructor Summary
BridgeException()
          Constructs a BridgeException with null as its message.
BridgeException(java.lang.String message)
          Constructs a BridgeException with the specified detail message.
BridgeException(java.lang.String message, java.lang.Throwable cause)
          Constructs a BridgeException with the detail message of the original exception.
BridgeException(java.lang.Throwable cause)
          Constructs a BridgeException with the detail message of the original exception.
 
Method Summary
 java.lang.Throwable getCause()
          Returns the cause of the exception.
 java.lang.Throwable initCause(java.lang.Throwable cause)
          Sets the cause of the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BridgeException

public BridgeException()
Constructs a BridgeException with null as its message.
Since:
MMBase-1.6

BridgeException

public BridgeException(java.lang.String message)
Constructs a BridgeException with the specified detail message.
Parameters:
message - a description of the error

BridgeException

public BridgeException(java.lang.Throwable cause)
Constructs a BridgeException with the detail message of the original exception. The cause can be retrieved with getCause().
Parameters:
Throwable - the cause of the error
Since:
MMBase-1.6

BridgeException

public BridgeException(java.lang.String message,
                       java.lang.Throwable cause)
Constructs a BridgeException with the detail message of the original exception. The cause can be retrieved with getCause().
Parameters:
message - a description of the error
Throwable - the cause of the error
Since:
MMBase-1.6
Method Detail

initCause

public java.lang.Throwable initCause(java.lang.Throwable cause)
Sets the cause of the exception.
Returns:
the cause of the error
Since:
MMBase-1.6

getCause

public java.lang.Throwable getCause()
Returns the cause of the exception.
Returns:
the cause of the exception
Since:
MMBase-1.6


MMBase build 1.6.5.20030923