org.ujac.util
Class UjacException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ujac.util.UjacException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BeanException, ChartException, DocumentHandlerException, TableException, TemplateException, TypeConverterException

public class UjacException
extends Exception

Name: UjacException
Description: The base UJAC exception class.

Author:
lauerc
See Also:
Serialized Form

Constructor Summary
UjacException()
          Creates an instance with no specific arguments.
UjacException(String msg)
          Creates an instance with specific arguments.
UjacException(String msg, Throwable cause)
          Constructs a UjacException instance with no specific arguments.
 
Method Summary
 Throwable getOriginalCause()
          Gets the exception that causet this one.
 void printStackTrace(PrintStream stream)
           
 void printStackTrace(PrintWriter writer)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UjacException

public UjacException()
Creates an instance with no specific arguments.


UjacException

public UjacException(String msg)
Creates an instance with specific arguments.

Parameters:
msg - The error message.

UjacException

public UjacException(String msg,
                     Throwable cause)
Constructs a UjacException instance with no specific arguments.

Parameters:
msg - The error message.
cause - The cause of the error.
Method Detail

getOriginalCause

public Throwable getOriginalCause()
Gets the exception that causet this one.

Returns:
The exception that causet this one.

printStackTrace

public void printStackTrace(PrintStream stream)
Overrides:
printStackTrace in class Throwable
See Also:
Throwable.printStackTrace(java.io.PrintStream)

printStackTrace

public void printStackTrace(PrintWriter writer)
Overrides:
printStackTrace in class Throwable
See Also:
Throwable.printStackTrace(java.io.PrintWriter)


Copyright © 2003-2004 UJAC.org. All Rights Reserved.