com.atlassian.plugin.util.validation
Class ValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.atlassian.plugin.PluginException
                  extended by com.atlassian.plugin.PluginParseException
                      extended by com.atlassian.plugin.util.validation.ValidationException
All Implemented Interfaces:
Serializable

public class ValidationException
extends PluginParseException

Exception for a validation error parsing DOM4J nodes

Since:
2.2.0
See Also:
Serialized Form

Constructor Summary
ValidationException(String msg, List<String> errors)
           
 
Method Summary
 List<String> getErrors()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

ValidationException

public ValidationException(String msg,
                           List<String> errors)
Method Detail

getErrors

public List<String> getErrors()
Returns:
a list of the original errors


Copyright © 2015 Atlassian. All rights reserved.