ant compile fails
-----------------

                 Key: QPID-1329
                 URL: https://issues.apache.org/jira/browse/QPID-1329
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: M3
         Environment: Ubuntu 8.04
            Reporter: Lahiru Gunathilake
            Priority: Minor
             Fix For: M3


When I'm trying to compile using ant it gives me this error,
compile:
     [echo] Targeting : 1.5
    [javac] Compiling 267 source files to 
/home/lahiru/qpid/java/build/broker/classes
    [javac] 
/home/lahiru/qpid/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:81:
 unreported exception java.lang.Exception; must be caught or declared to be 
thrown
    [javac]             Object object = evaluate(message);
    [javac]                                     ^
    [javac] 
/home/lahiru/qpid/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:216:
 unreported exception java.lang.Exception; must be caught or declared to be 
thrown
    [javac]             Object rvalue = right.evaluate(message);
    [javac]                                           ^
    [javac] 
/home/lahiru/qpid/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:251:
 unreported exception java.lang.Exception; must be caught or declared to be 
thrown
    [javac]             Object rvalue = right.evaluate(message);
    [javac]                                           ^
    [javac] 
/home/lahiru/qpid/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:321:
 unreported exception java.lang.Exception; must be caught or declared to be 
thrown
    [javac]             Boolean lvalue = (Boolean) right.evaluate(message);
    [javac]                                                      ^
    [javac] 
/home/lahiru/qpid/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:345:
 unreported exception java.lang.Exception; must be caught or declared to be 
thrown
    [javac]             Object rvalue = right.evaluate(message);
    [javac]                                           ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 5 errors


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to