org.jasig.portlet.notice.response
Class NotificationError

java.lang.Object
  extended by org.jasig.portlet.notice.response.NotificationError
All Implemented Interfaces:
Serializable

public class NotificationError
extends Object
implements Serializable

This class is used report errors when a INotificationService tries to retrieve notifications but is unable to due to some error.

See Also:
Serialized Form

Constructor Summary
NotificationError()
           
NotificationError(String error, String source)
           
 
Method Summary
 boolean equals(Object object)
           
 String getError()
           
 int getKey()
           
 String getSource()
           
 void setError(String error)
           
 void setKey(String source, String error)
           
 void setSource(String source)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotificationError

public NotificationError()

NotificationError

public NotificationError(String error,
                         String source)
Method Detail

getSource

public String getSource()

setSource

public void setSource(String source)

getError

public String getError()

setError

public void setError(String error)

getKey

public int getKey()

setKey

public void setKey(String source,
                   String error)

equals

public boolean equals(Object object)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 Jasig. All Rights Reserved.