Browse Source

Testing svn installation (fixing some whitespace in the process)

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@291000 13f79535-47bb-0310-9956-ffa450edef68
master
Jacobus Martinus Kruithof 20 years ago
parent
commit
7a3ae110c3
1 changed files with 6 additions and 8 deletions
  1. +6
    -8
      src/main/org/apache/tools/ant/AntTypeDefinition.java

+ 6
- 8
src/main/org/apache/tools/ant/AntTypeDefinition.java View File

@@ -264,15 +264,13 @@ public class AntTypeDefinition {
throw new BuildException(msg, ncdfe); throw new BuildException(msg, ncdfe);
} catch (NoSuchMethodException nsme) { } catch (NoSuchMethodException nsme) {
throw new BuildException("Could not create type " + name throw new BuildException("Could not create type " + name
+ " as the class " + c +" has no compatible constructor" );
+ " as the class " + c + " has no compatible constructor");
} catch (InstantiationException nsme) { } catch (InstantiationException nsme) {
throw new BuildException("Could not create type " +
name
+ " as the class " + c + " is abstract");
} catch(IllegalAccessException e) {
throw new BuildException("Could not create type " +
name
+ " as the constructor " + c + " is not accessible");
throw new BuildException("Could not create type "
+ name + " as the class " + c + " is abstract");
} catch (IllegalAccessException e) {
throw new BuildException("Could not create type "
+ name + " as the constructor " + c + " is not accessible");
} catch (Throwable t) { } catch (Throwable t) {
throw new BuildException( throw new BuildException(
"Could not create type " + name + " due to " + t, t); "Could not create type " + name + " due to " + t, t);


Loading…
Cancel
Save