com.photoviewer.server.util
Class PhotoGenException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.photoviewer.server.util.PhotoGenException
All Implemented Interfaces:
java.io.Serializable

public class PhotoGenException
extends java.lang.RuntimeException

Special exception class used by the Photo Generator. It can optionally be instructed to display the stack trace (or not).

Author:
Chris Normand
See Also:
Serialized Form

Field Summary
protected  boolean m_showStackTrace
           
protected  java.lang.Exception m_target
           
 
Constructor Summary
PhotoGenException(java.lang.Exception ex)
           
PhotoGenException(java.lang.Exception ex, java.lang.String message)
           
PhotoGenException(java.lang.String message)
           
PhotoGenException(java.lang.String message, boolean show)
           
 
Method Summary
 void printStackTrace()
           
 void printStackTrace(java.io.PrintWriter s)
           
 
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
 

Field Detail

m_showStackTrace

protected boolean m_showStackTrace

m_target

protected java.lang.Exception m_target
Constructor Detail

PhotoGenException

public PhotoGenException(java.lang.Exception ex)

PhotoGenException

public PhotoGenException(java.lang.Exception ex,
                         java.lang.String message)

PhotoGenException

public PhotoGenException(java.lang.String message)

PhotoGenException

public PhotoGenException(java.lang.String message,
                         boolean show)
Method Detail

printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(java.io.PrintWriter s)