Class FactoryException

  • All Implemented Interfaces:
    java.io.Serializable

    public class FactoryException
    extends java.lang.RuntimeException
    This RuntimeException is thrown by the Factory if it cannot initialize or perform an appropriate function.
    Version:
    $Revision: 1.1 $
    Author:
    Joe Walnes
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Exception exception  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Exception getRootCause()
      Get the original cause of the Exception.
      void printStackTrace()  
      void printStackTrace​(java.io.PrintStream s)  
      void printStackTrace​(java.io.PrintWriter s)  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • exception

        protected java.lang.Exception exception
    • Constructor Detail

      • FactoryException

        public FactoryException()
      • FactoryException

        public FactoryException​(java.lang.String msg)
      • FactoryException

        public FactoryException​(java.lang.Exception e)
      • FactoryException

        public FactoryException​(java.lang.String msg,
                                java.lang.Exception e)
    • Method Detail

      • getRootCause

        public java.lang.Exception getRootCause()
        Get the original cause of the Exception. Returns null if not known.
      • printStackTrace

        public void printStackTrace()
        Overrides:
        printStackTrace in class java.lang.Throwable
      • printStackTrace

        public void printStackTrace​(java.io.PrintStream s)
        Overrides:
        printStackTrace in class java.lang.Throwable
      • printStackTrace

        public void printStackTrace​(java.io.PrintWriter s)
        Overrides:
        printStackTrace in class java.lang.Throwable