org.apache.openejb.config
Class ValidationFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.openejb.OpenEJBException
              extended by org.apache.openejb.config.ValidationFailedException
All Implemented Interfaces:
java.io.Serializable, ValidationResults

public class ValidationFailedException
extends OpenEJBException
implements ValidationResults

Version:
$Rev: 602704 $ $Date: 2007-12-09 18:58:22 +0100 (So, 09. Dez 2007) $
See Also:
Serialized Form

Constructor Summary
ValidationFailedException(java.lang.String message, ValidationResults set)
           
ValidationFailedException(java.lang.String message, ValidationResults set, ValidationFailedException e)
           
 
Method Summary
 ValidationError[] getErrors()
           
 ValidationFailure[] getFailures()
           
 java.lang.String getJarPath()
           
 java.lang.String getModuleType()
           
 ValidationWarning[] getWarnings()
           
 boolean hasErrors()
           
 boolean hasFailures()
           
 boolean hasWarnings()
           
 
Methods inherited from class org.apache.openejb.OpenEJBException
getMessage, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidationFailedException

public ValidationFailedException(java.lang.String message,
                                 ValidationResults set)

ValidationFailedException

public ValidationFailedException(java.lang.String message,
                                 ValidationResults set,
                                 ValidationFailedException e)
Method Detail

getJarPath

public java.lang.String getJarPath()
Specified by:
getJarPath in interface ValidationResults

getErrors

public ValidationError[] getErrors()
Specified by:
getErrors in interface ValidationResults

getFailures

public ValidationFailure[] getFailures()
Specified by:
getFailures in interface ValidationResults

getWarnings

public ValidationWarning[] getWarnings()
Specified by:
getWarnings in interface ValidationResults

hasWarnings

public boolean hasWarnings()
Specified by:
hasWarnings in interface ValidationResults

hasFailures

public boolean hasFailures()
Specified by:
hasFailures in interface ValidationResults

hasErrors

public boolean hasErrors()
Specified by:
hasErrors in interface ValidationResults

getModuleType

public java.lang.String getModuleType()
Specified by:
getModuleType in interface ValidationResults


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.