org.apache.james.jspf.core.exceptions
Class SPFResultException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.james.jspf.core.exceptions.SPFResultException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
NeutralException, NoneException, PermErrorException, TempErrorException

public abstract class SPFResultException
extends java.lang.Exception

Root exception for SPF methods

See Also:
Serialized Form

Constructor Summary
SPFResultException(java.lang.String strErrorMessage)
          Exception
 
Method Summary
abstract  java.lang.String getResult()
          The result for this 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

SPFResultException

public SPFResultException(java.lang.String strErrorMessage)
Exception

Parameters:
strErrorMessage - string
Method Detail

getResult

public abstract java.lang.String getResult()
The result for this exception

Returns:
the spf result for this exception


Copyright © 2006-2009 The Apache Software Foundation. All Rights Reserved.