de.smartics.exceptions.runtime
Class MyExceptionContext

Package class diagram package MyExceptionContext
java.lang.Object
  extended by de.smartics.exceptions.runtime.MyExceptionContext
All Implemented Interfaces:
ExceptionContext

public class MyExceptionContext
     
     
extends Object
implements ExceptionContext

A test context to read.

Author:
Robert Reiner

Constructor Summary
MyExceptionContext()
          Convenience constructor to set ThrowableHandleMode.NORMAL.
MyExceptionContext(ThrowableHandleMode mode)
          Default constructor.
 
Method Summary
 IdFactory getIdFactory()
          
 ThrowableHandleMode getThrowableHandleMode()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyExceptionContext

public MyExceptionContext()
Convenience constructor to set ThrowableHandleMode.NORMAL.


MyExceptionContext

public MyExceptionContext(ThrowableHandleMode mode)
Default constructor.

Parameters:
mode - the mode used by this context.
Method Detail

getIdFactory

public IdFactory getIdFactory()

Specified by:
getIdFactory in interface ExceptionContext
See Also:
ExceptionContext.getIdFactory()

getThrowableHandleMode

public ThrowableHandleMode getThrowableHandleMode()

Specified by:
getThrowableHandleMode in interface ExceptionContext
See Also:
ExceptionContext.getThrowableHandleMode()
Returns:
ThrowableHandleMode.TRUNCATE_EXTERNAL by default.


Copyright © 2007-$2011 Kronseder & Reiner GmbH - smartics. All Rights Reserved.