Business Components

oracle.jbo
Class NameClashException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--oracle.jbo.JboException
                          |
                          +--oracle.jbo.NameClashException

public class NameClashException
extends JboException

Indicates that an attempt has been made to use a name that is already defined.

Since:
JDeveloper 3.0
See Also:
Serialized Form

Constructor Summary
NameClashException(int objTypeId, java.lang.String objName)
          Creates an exception to be localized using CSMessageBundle and error code EXC_NAME_CLASH.
NameClashException(java.lang.String objType, java.lang.String objName)
          Creates an exception to be localized using CSMessageBundle and error code EXC_NAME_CLASH.
 
Methods inherited from class oracle.jbo.JboException
addToDetails, getBaseMessage, getDetailMessage, getDetails, getErrorCode, getErrorParameters, getJboExceptionHelper, getLocalizedBaseMessage, getLocalizedMessage, getMessage, getProductCode, getResourceClass, getResourceName, getTypeNameFromId, isLocalizable, printStackTrace, printStackTrace, printStackTrace, setApplicationModule, setDetails, setErrorParameters
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NameClashException

public NameClashException(java.lang.String objType,
                          java.lang.String objName)
Creates an exception to be localized using CSMessageBundle and error code EXC_NAME_CLASH.
Parameters:
objType - the type of the object being named, the first message parameter.
objName - the disallowed name, the second message parameter.

NameClashException

public NameClashException(int objTypeId,
                          java.lang.String objName)
Creates an exception to be localized using CSMessageBundle and error code EXC_NAME_CLASH.
Parameters:
objTypeId - the ID of type of the object being named, the first message parameter.
objName - the disallowed name, the second message parameter.

Business Components