Core API 7.7

net.juniper.smgt.sae.scriptservice
Class AcctNotAvailException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.juniper.smgt.sae.scriptservice.ScriptServiceException
              extended by net.juniper.smgt.sae.scriptservice.AcctNotAvailException
All Implemented Interfaces:
Serializable

public class AcctNotAvailException
extends ScriptServiceException

This class is a special ScriptServiceException which is thrown durring deactivation of a script service to indicate that accounting is not available at the moment

See Also:
Serialized Form

Constructor Summary
AcctNotAvailException(String msg)
          Constructs a new AcctNotAvailException with the specified detail message.
AcctNotAvailException(String msg, int interval)
          Constructs a new AcctNotAvailException with the specified detail message and retry time
 
Method Summary
 int getInterval()
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AcctNotAvailException

public AcctNotAvailException(String msg)
Constructs a new AcctNotAvailException with the specified detail message. Another attempt to collect accounting will be made after 60s

Parameters:
msg - The detail message

AcctNotAvailException

public AcctNotAvailException(String msg,
                             int interval)
Constructs a new AcctNotAvailException with the specified detail message and retry time

Parameters:
msg - the detail message
interval - the amount of time to wait before trying again to collect accounting
Method Detail

getInterval

public int getInterval()

Core API 7.7