1 package com.quantum.model;
 
   6 public class ConnectionException extends Exception {
 
   8     private Throwable cause = null;
 
  13     public ConnectionException() {
 
  20     public ConnectionException(String message) {
 
  28     public ConnectionException(String message, Throwable cause) {
 
  36     public ConnectionException(Throwable cause) {
 
  37         super(cause.getMessage());
 
  41     public Throwable getCause() {
 
  45     public String toString() {
 
  46         String base = super.toString();
 
  47         if (this.cause != null) {
 
  48             base += System.getProperty("line.separator")
 
  50                 + System.getProperty("line.separator")
 
  51                 + this.cause.toString();