net.juniper.smgt.sae.scriptservice
Class AcctNotAvailException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.juniper.smgt.sae.scriptservice.ScriptServiceException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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 messageinterval
- the amount of time to wait before
trying again to collect accounting
getInterval
public int getInterval()