com.arsdigita.notification
Class RestrictedTypeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.arsdigita.notification.RestrictedTypeException
All Implemented Interfaces:
Serializable

public class RestrictedTypeException
extends RuntimeException

Signals that a method has been invoked on a notification that has type restrictions. For example, the setHeader and setSignature methods can only be applied to TEXT_PLAIN messages.

Version:
$Id: //core-platform/dev/src/com/arsdigita/notification/RestrictedTypeException.java#7 $
Author:
Ron Henderson
See Also:
Serialized Form

Constructor Summary
RestrictedTypeException(String message)
          Creates a new exception with a given error message.
 
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

RestrictedTypeException

public RestrictedTypeException(String message)
Creates a new exception with a given error message.

Parameters:
message - the error message


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC