Project JXTA

net.jxta.exception
Class ConfiguratorException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bynet.jxta.exception.JxtaException
              extended bynet.jxta.exception.ConfiguratorException
All Implemented Interfaces:
Serializable

public class ConfiguratorException
extends JxtaException

This class maintains a List of all possible causes that may be generated as a part of the configuration process.

Version:
$Id: ConfiguratorException.java,v 1.1 2003/11/04 21:07:26 gonzo Exp $
Author:
james todd [gonzo at jxta dot org]
See Also:
Serialized Form

Constructor Summary
ConfiguratorException()
          Constucts a JxtaException with no specified details.
ConfiguratorException(List ex)
          Constructs a JxtaException with the specified List of causes.
ConfiguratorException(String msg)
          Constructs a JxtaException with the specified message.
ConfiguratorException(String msg, List ex)
          Constructs a JxtaException with the specified message in addition to the List of causes.
ConfiguratorException(String msg, Throwable ex)
          Constructs a JxtaException with the specified message and cause.
ConfiguratorException(Throwable ex)
          Constructs a JxtaException with the specified cause.
 
Method Summary
 void addCause(Throwable c)
          Add a cause of type Throwable.
 void addCauses(List c)
          Add a List of causes.
 List getCauses()
          Retrieve the causes as a List.
 void printStackTrace()
           
 void printStackTrace(PrintStream ps)
           
 void printStackTrace(PrintWriter pw)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfiguratorException

public ConfiguratorException()
Constucts a JxtaException with no specified details.


ConfiguratorException

public ConfiguratorException(String msg)
Constructs a JxtaException with the specified message.

Parameters:
msg - message

ConfiguratorException

public ConfiguratorException(Throwable ex)
Constructs a JxtaException with the specified cause.

Parameters:
ex - cause

ConfiguratorException

public ConfiguratorException(String msg,
                             Throwable ex)
Constructs a JxtaException with the specified message and cause.

Parameters:
msg - message
ex - cause

ConfiguratorException

public ConfiguratorException(List ex)
Constructs a JxtaException with the specified List of causes.

Parameters:
ex - causes

ConfiguratorException

public ConfiguratorException(String msg,
                             List ex)
Constructs a JxtaException with the specified message in addition to the List of causes.

Parameters:
msg - message
ex - causes
Method Detail

getCauses

public List getCauses()
Retrieve the causes as a List.

Returns:
The causes

addCause

public void addCause(Throwable c)
Add a cause of type Throwable.

Parameters:
c - The cause

addCauses

public void addCauses(List c)
Add a List of causes.

Parameters:
c - The causes

printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(PrintStream ps)
Parameters:
ps - Description of the Parameter

printStackTrace

public void printStackTrace(PrintWriter pw)
Parameters:
pw - Description of the Parameter

JXTA J2SE