Class ServerTransportSecurityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.modelcontextprotocol.server.transport.ServerTransportSecurityException
- All Implemented Interfaces:
Serializable
Exception thrown when security validation fails for an HTTP request. Contains HTTP
status code and message.
- Author:
- Daniel Garnier-Moiroux
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServerTransportSecurityException(int statusCode, String message) Creates a new ServerTransportSecurityException with the specified HTTP status code and message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServerTransportSecurityException
Creates a new ServerTransportSecurityException with the specified HTTP status code and message.
-
-
Method Details