JXTA

net.jxta.exception
Class ConfiguratorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.jxta.exception.JxtaException
              extended by net.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.

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<Throwable> 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<Throwable> 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()
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream ps)
Overrides:
printStackTrace in class Throwable
Parameters:
ps - Description of the Parameter

printStackTrace

public void printStackTrace(PrintWriter pw)
Overrides:
printStackTrace in class Throwable
Parameters:
pw - Description of the Parameter

JXSE