OptimalTrace
5.2

com.compuware.optimaltrace.tools.common.tpn
Class ProjectNotUniqueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.compuware.optimaltrace.tools.common.tpn.ProjectNotUniqueException
All Implemented Interfaces:
java.io.Serializable

public class ProjectNotUniqueException
extends java.lang.Exception

Class ProjectNotUniqueException Indicates that a project is not unique within the repository. If the project id

Author:
Jason O'Connell
See Also:
Serialized Form

Constructor Summary
ProjectNotUniqueException(java.lang.String msg)
          Constructor ProjectNotUniqueException
ProjectNotUniqueException(java.lang.String msg, java.lang.String existingProjectName)
          Constructor ProjectNotUniqueException
 
Method Summary
 java.lang.String getExistingProjectName()
          Gets the existing project name.
 boolean isIdDuplicate()
          Checks if the id is duplicate.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProjectNotUniqueException

public ProjectNotUniqueException(java.lang.String msg)
Constructor ProjectNotUniqueException

Parameters:
msg -

ProjectNotUniqueException

public ProjectNotUniqueException(java.lang.String msg,
                                 java.lang.String existingProjectName)
Constructor ProjectNotUniqueException

Parameters:
msg -
existingProjectName -
Method Detail

isIdDuplicate

public boolean isIdDuplicate()
Checks if the id is duplicate.

Returns:
boolean

getExistingProjectName

public java.lang.String getExistingProjectName()
Gets the existing project name.

Returns:
String

OptimalTrace
5.2

Compuware Corporation

OptimalTrace is a trademark or registered trademark of Compuware Corporation in the US and other countries.
Copyright 2008-2009 Compuware Corporation. One Campus Martius,
Detroit, Michigan, 48226, U.S.A. All Rights Reserved.