org.jboss.aerogear.simplepush.protocol.impl
Class StatusImpl
java.lang.Object
org.jboss.aerogear.simplepush.protocol.impl.StatusImpl
- All Implemented Interfaces:
- Status
public class StatusImpl
- extends Object
- implements Status
StatusImpl
public StatusImpl(int code,
String message)
toString
public String toString()
- Overrides:
toString in class Object
getCode
public int getCode()
- Description copied from interface:
Status
- Returns the error code for this Status.
- Specified by:
getCode in interface Status
- Returns:
int the error code for this Status.
getMessage
public String getMessage()
- Description copied from interface:
Status
- Returns the message for this Status.
- Specified by:
getMessage in interface Status
- Returns:
String the message for this status.
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.