ca.macewan.ims.enterprise
Class IMSEnterpriseException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byca.macewan.ims.enterprise.IMSEnterpriseException
All Implemented Interfaces:
Serializable

public class IMSEnterpriseException
extends Exception

The IMSEnterpriseException is used by those setter methods that validate their arguments, as well as by validate methods, where applicable. Also, the classes in the ca.macewan.ims.enterprise.io package use this exception to report reading and writing problems.

Version:
0.1
Author:
Erwin Veugelers
See Also:
Serialized Form

Constructor Summary
IMSEnterpriseException()
           
IMSEnterpriseException(String msg)
           
IMSEnterpriseException(String msg, Throwable cause)
           
IMSEnterpriseException(Throwable cause)
           
 
Method Summary
static IMSEnterpriseException createDuplicateElementException(String elementtag, String parenttag, Object parent)
           
static IMSEnterpriseException createInvalidValueException(String elementtag, String parenttag, Object parent)
           
static IMSEnterpriseException createMissingElementException(String elementtag, String parenttag, Object parent)
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IMSEnterpriseException

public IMSEnterpriseException()

IMSEnterpriseException

public IMSEnterpriseException(String msg)

IMSEnterpriseException

public IMSEnterpriseException(String msg,
                              Throwable cause)

IMSEnterpriseException

public IMSEnterpriseException(Throwable cause)
Method Detail

createMissingElementException

public static IMSEnterpriseException createMissingElementException(String elementtag,
                                                                   String parenttag,
                                                                   Object parent)

createInvalidValueException

public static IMSEnterpriseException createInvalidValueException(String elementtag,
                                                                 String parenttag,
                                                                 Object parent)

createDuplicateElementException

public static IMSEnterpriseException createDuplicateElementException(String elementtag,
                                                                     String parenttag,
                                                                     Object parent)