SMSLib v3.4.6 compile fails using Java 1.5 on Mac OS X 10.5.8, It
seems that the class JSMPPGateway is using the Java 6 constructor of
the IOException. This is what i changed, and everything works fine.
Just in case someone is having the same problem...

compile.smslib:
    [mkdir] Created dir: /Users/fabianocruz/Dev/smslib-v3.4.6/dist/classes
    [javac] Compiling 138 source files to
/Users/fabianocruz/Dev/smslib-v3.4.6/dist/classes
    [javac] 
/Users/fabianocruz/Dev/smslib-v3.4.6/src/java/org/smslib/smpp/jsmpp/JSMPPGateway.java:330:
cannot find symbol
    [javac] symbol  : constructor
IOException(java.lang.String,org.jsmpp.InvalidResponseException)
    [javac] location: class java.io.IOException
    [javac]             throw new IOException("InvalidResponseException: ", e);
    [javac]                               ^
    [javac] 
/Users/fabianocruz/Dev/smslib-v3.4.6/src/java/org/smslib/smpp/jsmpp/JSMPPGateway.java:333:
cannot find symbol
    [javac] symbol  : constructor
IOException(java.lang.String,org.jsmpp.extra.NegativeResponseException)
    [javac] location: class java.io.IOException
    [javac]             throw new IOException("NegativeResponseException: ", e);
    [javac]                               ^
    [javac] 2 errors

All the best,
-Fabiano

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib User Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/smslib?hl=en.

Reply via email to