servicenow.community.soap
Class ServiceNowException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by servicenow.community.soap.ServiceNowException
All Implemented Interfaces:
java.io.Serializable

public class ServiceNowException
extends java.lang.Exception

See Also:
Serialized Form

Constructor Summary
protected ServiceNowException()
           
  ServiceNowException(java.lang.String message)
           
 
Method Summary
static void logFatal(org.apache.log4j.Logger logger)
           
static void logFatal(org.apache.log4j.Logger logger, java.lang.String message)
          Static function to print an error to the log file and throw an exception.
 
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

ServiceNowException

public ServiceNowException(java.lang.String message)

ServiceNowException

protected ServiceNowException()
Method Detail

logFatal

public static void logFatal(org.apache.log4j.Logger logger,
                            java.lang.String message)
                     throws ServiceNowException
Static function to print an error to the log file and throw an exception. This function will not return.

Parameters:
logger -
message -
Throws:
ServiceNowException

logFatal

public static void logFatal(org.apache.log4j.Logger logger)
                     throws ServiceNowException
Throws:
ServiceNowException