com.redhat.rhn.common.security.errata
Class PublishedOnlyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.redhat.rhn.common.RhnRuntimeException
                  extended by com.redhat.rhn.common.security.errata.PublishedOnlyException
All Implemented Interfaces:
java.io.Serializable

public class PublishedOnlyException
extends RhnRuntimeException

A RuntimeException thrown when an attribute or method for a Published Errata is called for an Unpublished Errata.

See Also:
Serialized Form

Constructor Summary
PublishedOnlyException(java.lang.String message)
          Constructor
PublishedOnlyException(java.lang.String message, java.lang.Throwable cause)
          Constructor
 
Method Summary
 
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

PublishedOnlyException

public PublishedOnlyException(java.lang.String message)
Constructor

Parameters:
message - exception message

PublishedOnlyException

public PublishedOnlyException(java.lang.String message,
                              java.lang.Throwable cause)
Constructor

Parameters:
message - exception message
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)