JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.page
Class DuplicateNameException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.klg.jclass.page.DuplicateNameException
All Implemented Interfaces:
Serializable

public class DuplicateNameException
extends RuntimeException

PageLayout throws a DuplicateNameException when it is given a named object (a page template or style, for example) which conflicts with the name of an existing object of that type.

See Also:
Serialized Form

Field Summary
 Object newObject
          The new object whose name is invalid
 Object oldObject
          The existing object of the same name
 
Constructor Summary
DuplicateNameException(Object new_obj, Object old_obj, String message)
           
DuplicateNameException(String message)
           
 
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
 

Field Detail

newObject

public Object newObject
The new object whose name is invalid


oldObject

public Object oldObject
The existing object of the same name

Constructor Detail

DuplicateNameException

public DuplicateNameException(String message)

DuplicateNameException

public DuplicateNameException(Object new_obj,
                              Object old_obj,
                              String message)

Copyright © 2004 Quest Software Inc..
All rights reserved.