Package org.opennms.web.element
Class ElementIdNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.opennms.web.element.ElementIdNotFoundException
-
- All Implemented Interfaces:
Serializable
public class ElementIdNotFoundException extends RuntimeException
ElementIdNotFoundException class.
- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElementIdNotFoundException(String msg, String id, String elemType)Constructor for ElementIdNotFoundException.ElementIdNotFoundException(String msg, String id, String elemType, String browseUri)Constructor for ElementIdNotFoundException.ElementIdNotFoundException(String msg, String id, String elemType, String detailUri, String detailParam, String browseUri)Constructor for ElementIdNotFoundException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBadID()getBadIDStringgetBrowseUri()Getter for the fieldbrowseUri.StringgetDetailParam()Getter for the fielddetailParam.StringgetDetailUri()Getter for the fielddetailUri.StringgetElemType()Getter for the fieldelemType.StringgetElemType(boolean initialCap)Getter for the fieldelemType.StringgetMessage()Getter for the fieldmessage.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ElementIdNotFoundException
public ElementIdNotFoundException(String msg, String id, String elemType, String detailUri, String detailParam, String browseUri)
Constructor for ElementIdNotFoundException.
-
ElementIdNotFoundException
public ElementIdNotFoundException(String msg, String id, String elemType, String browseUri)
Constructor for ElementIdNotFoundException.
-
-
Method Detail
-
getMessage
public String getMessage()
Getter for the field
message.- Overrides:
getMessagein classThrowable- Returns:
- a
Stringobject.
-
getElemType
public String getElemType(boolean initialCap)
Getter for the field
elemType.- Parameters:
initialCap- a boolean.- Returns:
- a
Stringobject.
-
getDetailParam
public String getDetailParam()
Getter for the field
detailParam.- Returns:
- a
Stringobject.
-
-