Package cloud.metaapi.sdk.clients
Class MethodAccessException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- cloud.metaapi.sdk.clients.MethodAccessException
-
- All Implemented Interfaces:
Serializable
public class MethodAccessException extends Exception
Error which indicates that user doesn't have access to a method- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MethodAccessException(String methodName)Constructs the exception.MethodAccessException(String methodName, String accessType)Constructs the exception
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MethodAccessException
public MethodAccessException(String methodName)
Constructs the exception. Access type is set toapi- Parameters:
methodName- Name of method
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
-