Groovy Documentation

com.ace.mws.plugins.exceptions
[Java] Class InvalidPluginConfigurationException

java.lang.Object
  java.lang.Throwable
      java.lang.Exception
          com.ace.mws.plugins.exceptions.InvalidPluginConfigurationException

public class InvalidPluginConfigurationException
extends Exception

An exception signifying that a misconfiguration error has occurred. Contains a list of errors that can be retrieved using getErrors() and is set in the constructor.

See Also:
InvalidPluginConfigurationException(String, List)
InvalidPluginConfigurationException(String, List, Exception)


Field Summary
private List errors

private static long serialVersionUID

 
Constructor Summary
InvalidPluginConfigurationException(String message)

InvalidPluginConfigurationException(String message, Exception ex)

InvalidPluginConfigurationException(String message, List errors)

Creates a new exception with the given message and error messages.

InvalidPluginConfigurationException(String message, List errors, Exception ex)

Creates a new exception with the given message, error messages, and inner exception.

 
Method Summary
List getErrors()

Retrieves the list of error messages set in the constructor.

 
Methods inherited from class Exception
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Throwable
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

errors

private List errors


serialVersionUID

private static final long serialVersionUID


 
Constructor Detail

InvalidPluginConfigurationException

public InvalidPluginConfigurationException(String message)


InvalidPluginConfigurationException

public InvalidPluginConfigurationException(String message, Exception ex)


InvalidPluginConfigurationException

public InvalidPluginConfigurationException(String message, List errors)
Creates a new exception with the given message and error messages.
Parameters:
message - The typical exception message
errors - A list of error messages specifying why the configuration did not pass


InvalidPluginConfigurationException

public InvalidPluginConfigurationException(String message, List errors, Exception ex)
Creates a new exception with the given message, error messages, and inner exception.
Parameters:
message - The typical exception message
errors - A list of error messages specifying why the configuration did not pass
ex - An inner exception


 
Method Detail

getErrors

public List getErrors()
Retrieves the list of error messages set in the constructor. Can be null.
Returns:
List of error message or null if not set in constructor


 

Groovy Documentation