com.vii.brillien.kernel.axiom.atomic.shaper.shifters
Class MessageShifter

java.lang.Object
  extended by com.vii.brillien.kernel.axiom.atomic.shaper.shifters.MessageShifter
All Implemented Interfaces:
Shifter

public class MessageShifter
extends Object
implements Shifter

Specialized Shifter to pack evety exception to a BrillienException instance with specialized error message


Field Summary
protected  String msg
           
 
Constructor Summary
MessageShifter(String msg)
           
 
Method Summary
 String getMsg()
           
 void setMsg(String msg)
           
 BrillienException transform(BrillienException be)
          Transforms a BrillienException into T-type exception
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

msg

protected String msg
Constructor Detail

MessageShifter

public MessageShifter(String msg)
Method Detail

getMsg

public String getMsg()

setMsg

public void setMsg(String msg)

transform

public BrillienException transform(BrillienException be)
Description copied from interface: Shifter
Transforms a BrillienException into T-type exception

Specified by:
transform in interface Shifter


Copyright © 2012. All Rights Reserved.