public class ObjectInUseException extends PolicyException
Constructor and Description |
---|
ObjectInUseException(String msg,
String name,
Object user)
Constructs an
ObjectInUseException object |
ObjectInUseException(String rbName,
String errCode,
Object[] args,
String name,
Object user)
Constructs an
ObjectInUseException object |
ObjectInUseException(String rbName,
String errCode,
Object[] args,
Throwable t,
String name,
Object user)
Constructs an
ObjectInUseException object |
ObjectInUseException(Throwable t,
String name,
Object user)
Constructs an
ObjectInUseException object |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the name that is in use.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ObjectInUseException(String msg, String name, Object user)
ObjectInUseException
objectmsg
- exception messagename
- name of the object that is in useuser
- object that is using the object you are trying to removepublic ObjectInUseException(String rbName, String errCode, Object[] args, String name, Object user)
ObjectInUseException
objectrbName
- Resource bundle name of exception messageerrCode
- id used with resource bundle to get error messageargs
- any arguments for message formatting. null if no
additional arguments are necessaryname
- name of the object that is in useuser
- object that is using the object you are trying to removepublic ObjectInUseException(String rbName, String errCode, Object[] args, Throwable t, String name, Object user)
ObjectInUseException
objectrbName
- Resource bundle name of exception messageerrCode
- id used with resource bundle to get error messageargs
- any arguments for message formatting. null if no
additional arguments are necessaryt
- nested root cause exceptionname
- name of the object that is in useuser
- object that is using the object you are trying to removepublic String getName()
Copyright © 2010-2018, ForgeRock All Rights Reserved.