ossj.common.tck
Class TCKException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ossj.common.tck.TCKException
All Implemented Interfaces:
Serializable

public class TCKException
extends Exception

Simple class to provide more detailed information for unexpected implementation exceptions The implementation exception is wrapped, a description added an the new TCKException thrown

Version:
0.1
See Also:
Serialized Form

Constructor Summary
TCKException(String msg)
          Creates new TCKException
TCKException(String name, String type, Exception nested)
          Creates new TCKException
TCKException(String msg, Throwable nested)
          Creates new TCKException
 
Method Summary
 void printStackTrace()
          DOCUMENT ME!
 void printStackTrace(PrintStream s)
          DOCUMENT ME!
 void printStackTrace(PrintWriter s)
          DOCUMENT ME!
 
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

TCKException

public TCKException(String msg)
Creates new TCKException

Parameters:
msg - the exception msg

TCKException

public TCKException(String msg,
                    Throwable nested)
Creates new TCKException

Parameters:
msg - the exception msg
nested - The Exception thrown by the implementation

TCKException

public TCKException(String name,
                    String type,
                    Exception nested)
Creates new TCKException

Parameters:
name - The name of the current attribute
type - The type of the current ManagedEntityValue
nested - The Exception thrown by the implementation
Method Detail

printStackTrace

public void printStackTrace()
DOCUMENT ME!

Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream s)
DOCUMENT ME!

Overrides:
printStackTrace in class Throwable
Parameters:
s - DOCUMENT ME!

printStackTrace

public void printStackTrace(PrintWriter s)
DOCUMENT ME!

Overrides:
printStackTrace in class Throwable
Parameters:
s - DOCUMENT ME!


Copyright 2002-2006 The Members of the OSS through Java(TM) Initiative. All rights reserved. Use is subject to license terms.