}
catch (Exception e)
{
if (userPeerClassName == null || userPeerClass == null)
{
throw new InitializationException(
"Could not find UserPeer class ("
+ userPeerClassName + ")", e);
}
if (tableName == null)
{
throw new InitializationException(
"Failed to get the table name from the Peer object", e);
}
if (userObject == null || userObjectName == null)
{
throw new InitializationException(
"Failed to get the object type from the Peer object", e);
}
if (nameColumn == null || namePropDesc == null)
{
throw new InitializationException(
"UserPeer " + userPeerClassName
+ " has no name column information!", e);
}
if (idColumn == null || idPropDesc == null)
{
throw new InitializationException(
"UserPeer " + userPeerClassName
+ " has no id column information!", e);
}
if (passwordColumn == null || passwordPropDesc == null)
{
throw new InitializationException(
"UserPeer " + userPeerClassName
+ " has no password column information!", e);
}
if (firstNameColumn == null || firstNamePropDesc == null)
{
throw new InitializationException(
"UserPeer " + userPeerClassName
+ " has no firstName column information!", e);
}
if (lastNameColumn == null || lastNamePropDesc == null)
{
throw new InitializationException(
"UserPeer " + userPeerClassName
+ " has no lastName column information!", e);
}
if (emailColumn == null || emailPropDesc == null)
{
throw new InitializationException(
"UserPeer " + userPeerClassName
+ " has no email column information!", e);
}
if (confirmColumn == null || confirmPropDesc == null)
{
throw new InitializationException(
"UserPeer " + userPeerClassName
+ " has no confirm column information!", e);
}
if (createDateColumn == null || createDatePropDesc == null)
{
throw new InitializationException(
"UserPeer " + userPeerClassName
+ " has no createDate column information!", e);
}
if (lastLoginColumn == null || lastLoginPropDesc == null)
{
throw new InitializationException(
"UserPeer " + userPeerClassName
+ " has no lastLogin column information!", e);
}
if (objectdataColumn == null || objectdataPropDesc == null)
{
throw new InitializationException(
"UserPeer " + userPeerClassName
+ " has no objectdata column information!", e);
}
}
}