demo.org.powermock.examples.tutorial.domainmocking.domain
Class SampleServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by demo.org.powermock.examples.tutorial.domainmocking.domain.SampleServiceException
All Implemented Interfaces:
Serializable

public class SampleServiceException
extends RuntimeException

A simple exception that's thrown when an error occurs when executing a method in the SampleService.

See Also:
Serialized Form

Constructor Summary
SampleServiceException(String description)
           
SampleServiceException(String description, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SampleServiceException

public SampleServiceException(String description,
                              Throwable cause)

SampleServiceException

public SampleServiceException(String description)


Copyright © 2007-2012. All Rights Reserved.