AeroGear SimplePush Server API 0.11.0

org.jboss.aerogear.simplepush.server.datastore
Class ChannelNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jboss.aerogear.simplepush.server.datastore.ChannelNotFoundException
All Implemented Interfaces:
Serializable

public class ChannelNotFoundException
extends Exception

An exception to signal that a channel could not be located in the DataStore in use.

See Also:
Serialized Form

Constructor Summary
ChannelNotFoundException(String message, String channelId)
           
ChannelNotFoundException(String message, String channelId, Throwable cause)
           
 
Method Summary
 String channelId()
          Return the channel id that could not be located.
 
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

ChannelNotFoundException

public ChannelNotFoundException(String message,
                                String channelId)
Parameters:
message - a description of when the exception occurred.
channelId - the channel id that could not be located.

ChannelNotFoundException

public ChannelNotFoundException(String message,
                                String channelId,
                                Throwable cause)
Parameters:
message - a description of when the exception occurred.
channelId - the channel id that could not be located.
Method Detail

channelId

public String channelId()
Return the channel id that could not be located.

Returns:
String the channel id.

AeroGear SimplePush Server API 0.11.0

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.