org.rhq.enterprise.communications.util
Class NotProcessedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.rhq.enterprise.communications.util.NotProcessedException
All Implemented Interfaces:
Serializable

public class NotProcessedException
extends RuntimeException

Thrown when command processing is unavailable. This is typically due to temporary global suspension of command processing. It is different from NotPermittedException in that the command request itself did not violate any constraint (e.g. security, concurrency limit). Can optionally be provided a String supplying a reason for not processing the command.

See Also:
Serialized Form

Constructor Summary
NotProcessedException(String reason)
           
 
Method Summary
 String getReason()
           
 
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

NotProcessedException

public NotProcessedException(String reason)
Method Detail

getReason

public String getReason()


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.