org.jqurantree.core.error
Class JQuranTreeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jqurantree.core.error.JQuranTreeException
All Implemented Interfaces:
java.io.Serializable

public class JQuranTreeException
extends java.lang.RuntimeException

A JQuranTreeException is thrown by the API when an error occurs.

Author:
Kais Dukes
See Also:
Serialized Form

Constructor Summary
JQuranTreeException(java.lang.String message)
          Creates a new JQuranTreeException with the specified error message.
JQuranTreeException(java.lang.String message, java.lang.Exception exception)
          Creates a new JQuranTreeException with an error message and an exception indicating the cause of the error
 
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

JQuranTreeException

public JQuranTreeException(java.lang.String message)
Creates a new JQuranTreeException with the specified error message.

Parameters:
message - the error message

JQuranTreeException

public JQuranTreeException(java.lang.String message,
                           java.lang.Exception exception)
Creates a new JQuranTreeException with an error message and an exception indicating the cause of the error

Parameters:
message - the error message
exception - an exception indicating the cause of the error


Copyright© Kais Dukes, 2009. All Rights Reserved.