public class

JunctionException

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ edu.stanford.junction.JunctionException

Class Overview

A generic exception that is thrown when an error occurs performing an Junction operation. Based on org.jivesoftware.smack.XMPPException

Summary

Public Constructors
JunctionException()
Creates a new JunctionException.
JunctionException(String message)
Creates a new JunctionException with a description of the exception.
JunctionException(Throwable wrappedThrowable)
Creates a new JunctionException with the Throwable that was the root cause of the exception.
JunctionException(String message, Throwable wrappedThrowable)
Creates a new JunctionException with a description of the exception and the Throwable that was the root cause of the exception.
Public Methods
String getMessage()
Throwable getWrappedThrowable()
Returns the Throwable asscociated with this exception, or null if there isn't one.
void printStackTrace(PrintWriter out)
void printStackTrace(PrintStream out)
void printStackTrace()
String toString()
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public JunctionException ()

Creates a new JunctionException.

public JunctionException (String message)

Creates a new JunctionException with a description of the exception.

Parameters
message description of the exception.

public JunctionException (Throwable wrappedThrowable)

Creates a new JunctionException with the Throwable that was the root cause of the exception.

Parameters
wrappedThrowable the root cause of the exception.

public JunctionException (String message, Throwable wrappedThrowable)

Creates a new JunctionException with a description of the exception and the Throwable that was the root cause of the exception.

Parameters
message a description of the exception.
wrappedThrowable the root cause of the exception.

Public Methods

public String getMessage ()

public Throwable getWrappedThrowable ()

Returns the Throwable asscociated with this exception, or null if there isn't one.

Returns
  • the Throwable asscociated with this exception.

public void printStackTrace (PrintWriter out)

public void printStackTrace (PrintStream out)

public void printStackTrace ()

public String toString ()