modules/sms/src/main/java/org/apache/axis2/transport/sms/SMSMessage.java [62:73]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public SMSMessage(String sender ,String reciever, String content , int direction) throws AxisFault {
        this.sender = sender;
        this.content = content;
        this.receiver = reciever;
        if (direction == IN_MESSAGE || direction == OUT_MESSAGE ) {
            this.direction = direction;

        } else {
            throw new AxisFault("Message must be in or out");
        }

    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



modules/sms/src/main/java/org/apache/axis2/transport/sms/smpp/SMPPMessage.java [38:49]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public SMPPMessage(String sender ,String reciever, String content , int direction) throws AxisFault {
        this.sender = sender;
        this.content = content;
        this.receiver = reciever;
        if (direction == IN_MESSAGE || direction == OUT_MESSAGE ) {
            this.direction = direction;

        } else {
            throw new AxisFault("Message must be in or out");    
        }

    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



