uk.ac.soton.ecs.grimoires.server.impl
Class RegistryException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byuk.ac.soton.ecs.grimoires.server.impl.RegistryException
All Implemented Interfaces:
Serializable

public class RegistryException
extends Exception

Reports an exception or set of exceptions from the server-side to the user. The cause will be the first error encountered, but the total set can be retrieved using getErrors ().

Author:
sm
See Also:
Serialized Form

Constructor Summary
RegistryException(Collection allProblems)
          Creates a new instance of RegistryException with the set of Throwable causes of this exception.
 
Method Summary
 Collection getErrors()
          Returns the set of Throwable causes of this exception
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegistryException

public RegistryException(Collection allProblems)
Creates a new instance of RegistryException with the set of Throwable causes of this exception.

Method Detail

getErrors

public Collection getErrors()
Returns the set of Throwable causes of this exception


toString

public String toString()