1 package net.sf.jldapbeans.lang; 2 3 public class BeanInstantiationException extends LdapClassException { 4 5 private LdapClass m_ldapClass; 6 7 public BeanInstantiationException(LdapClass ldapClass) { 8 super("Exception when instantiating a LdapJB from the LdapClass [" + ldapClass + "]"); 9 m_ldapClass = ldapClass; 10 } 11 12 public BeanInstantiationException(LdapClass ldapClass, String msg) { 13 super(msg); 14 m_ldapClass = ldapClass; 15 } 16 17 public BeanInstantiationException(LdapClass ldapClass, String msg, Throwable t) { 18 super(msg, t); 19 m_ldapClass = ldapClass; 20 } 21 22 public BeanInstantiationException(LdapClass ldapClass, Throwable t) { 23 super("Exception when instantiating a LdapJB from the LdapClass [" + ldapClass + "]", t); 24 m_ldapClass = ldapClass; 25 } 26 27 public LdapClass getLdapClass() { 28 return m_ldapClass; 29 } 30 31 }