Thanks for your report.
Never noticed this myself, as I work with JDK 6 as well. However, SMSLib is
advertized as JDK5 compatible... so I might have to revisit this statement.

On 29 May 2010 08:50, Fabiano Cruz <[email protected]> wrote:

> 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]<smslib%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/smslib?hl=en.
>
>

-- 
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