com.bemoko.live.platform.mwc.exception
Class LiveSignal

java.lang.Object
  extended by com.bemoko.commons.exception.Signal<BemokoException>
      extended by com.bemoko.commons.exception.CommonsSignal
          extended by com.bemoko.live.platform.mwc.exception.LiveSignal

public class LiveSignal
extends CommonsSignal


Constructor Summary
LiveSignal(int code, String key)
          Deprecated. - Please set explicit namespace
LiveSignal(String namespace, int code, String key)
           
 
Method Summary
 LiveException create()
          Create a new exception from this exception signal
 LiveException create(Throwable t)
          Create a new exception from this exception signal
 String createShortKey(int code)
           
 String getString()
          Resolve the key to a String
 
Methods inherited from class com.bemoko.commons.exception.Signal
getCode, getKey, getNamespace, getShortKey, setCode, setKey, setNamespace, setShortKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiveSignal

@Deprecated
public LiveSignal(int code,
                             String key)
Deprecated. - Please set explicit namespace

Parameters:
code -
key -

LiveSignal

public LiveSignal(String namespace,
                  int code,
                  String key)
Parameters:
code -
key -
Method Detail

createShortKey

public String createShortKey(int code)

create

public LiveException create(Throwable t)
Create a new exception from this exception signal

Overrides:
create in class CommonsSignal

create

public LiveException create()
Create a new exception from this exception signal

Overrides:
create in class CommonsSignal

getString

public String getString()
Description copied from class: Signal
Resolve the key to a String

Overrides:
getString in class CommonsSignal