com.sas.hls.security.group.exception
Class GroupExistsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sas.hls.common.exception.AbstractCheckedException
              extended by com.sas.hls.security.group.exception.GroupException
                  extended by com.sas.hls.security.group.exception.GroupExistsException
All Implemented Interfaces:
Serializable

public class GroupExistsException
extends GroupException

Thrown when an attempt is made to create a group that already exists.

See Also:
Serialized Form

Constructor Summary
GroupExistsException(GroupContext groupContext, String name, String message)
          Constructor
GroupExistsException(String name, String message)
          Constructor
 
Method Summary
 GroupContext getGroupContext()
          Get the context of the group in question
 String getName()
          Get the name of the group in question.
 
Methods inherited from class com.sas.hls.common.exception.AbstractCheckedException
contains, getLocalizedMessage, getMessage, getMostSpecificCause, getRootCause, setLocalizedMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

GroupExistsException

public GroupExistsException(GroupContext groupContext,
                            String name,
                            String message)
Constructor

Parameters:
groupContext - The context of the group
name - The name of the group
message - detailed message about the exception

GroupExistsException

public GroupExistsException(String name,
                            String message)
Constructor

Parameters:
name - The name of the group
message - detailed message about the exception
Method Detail

getGroupContext

public GroupContext getGroupContext()
Get the context of the group in question

Returns:
the context of the group in question

getName

public String getName()
Get the name of the group in question.

Returns:
the name of the group in question


Copyright (c) 2013, SAS Institute Inc., Cary, NC, USA