Creates a new MethodNotSupportedException with the specified detail message.parammessage The exception detail message super(message);
super(message);
Creates a new MethodNotSupportedException with the specified detail message and cause.parammessage the exception detail messageparamcause the Throwable that caused this exception, or null if the cause is unavailable, unknown, or not a Throwable super(message, cause);
super(message, cause);