Groovy Documentation

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

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

public class InvalidPluginConfigurationException
extends Throwable

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.

Authors:
bsaville


Field Summary
private List errors

private static long serialVersionUID

 
Constructor Summary
InvalidPluginConfigurationException(List errors)

Sets the errors to the list provided.

InvalidPluginConfigurationException(String error)

Creates an exception with a list of errors consisting of a single element.

 
Method Summary
List getErrors()

Retrieves the list of error messages set in the constructor.

 
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(List errors)
Sets the errors to the list provided.
Parameters:
errors - The list of errors


InvalidPluginConfigurationException

public InvalidPluginConfigurationException(String error)
Creates an exception with a list of errors consisting of a single element.
Parameters:
error - The single error


 
Method Detail

getErrors

public List getErrors()
Retrieves the list of error messages set in the constructor. This will never be null.
Returns:
List of error message or empty list.


 

Groovy Documentation