org.jboss.aerogear.simplepush.server.datastore
Class ChannelNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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
|
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 |
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.
channelId
public String channelId()
- Return the channel id that could not be located.
- Returns:
String the channel id.
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.