Package com.rs.seagull.emulator.api
Class FieldException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.rs.seagull.emulator.api.ApiException
com.rs.seagull.emulator.api.FieldException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FieldValidationException
,NoSuchFieldException
An unchecked exception for when there is a problem with a field.
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionFieldException
(String fieldName, FieldException.Type type) Create a newFieldException
with the provided field name and field exception type -
Method Summary
Methods inherited from class com.rs.seagull.emulator.api.ApiException
toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
FieldException
Create a newFieldException
with the provided field name and field exception type- Parameters:
fieldName
- the provided field nametype
- the provided field exception type
-
-
Method Details
-
getType
Get the type.- Returns:
- the type
-
getFieldName
Get the field name.- Returns:
- the field name
-
getMessage
- Overrides:
getMessage
in classThrowable
-