com.intel.cosbench.service
Class UnexpectedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.intel.cosbench.service.UnexpectedException
All Implemented Interfaces:
java.io.Serializable

public class UnexpectedException
extends java.lang.RuntimeException

This exception is used to adapt those exceptions that should never occur and thus unexpected to runtime exceptions so that we can IGNORE them in an elegant manner, while normally they will eventually be caught and LOGGED in a top level place. Developers should consult logs for details of these exceptions.

Author:
ywang19
See Also:
Serialized Form

Constructor Summary
UnexpectedException(java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnexpectedException

public UnexpectedException(java.lang.Throwable cause)