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 String
getBadID()
getBadIDString
getBrowseUri()
Getter for the fieldbrowseUri
.String
getDetailParam()
Getter for the fielddetailParam
.String
getDetailUri()
Getter for the fielddetailUri
.String
getElemType()
Getter for the fieldelemType
.String
getElemType(boolean initialCap)
Getter for the fieldelemType
.String
getMessage()
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:
getMessage
in classThrowable
- Returns:
- a
String
object.
-
getElemType
public String getElemType(boolean initialCap)
Getter for the field
elemType
.- Parameters:
initialCap
- a boolean.- Returns:
- a
String
object.
-
getDetailParam
public String getDetailParam()
Getter for the field
detailParam
.- Returns:
- a
String
object.
-
-