In my java program, I would like to insert another errormessage, if the input is a string. Can this be done?

import java.util.; public class RomanNumerals public
PayPal Gateway not configured
PayPal Gateway not configured
In my java program, I would like to insert another errormessage, if the input is a string. Can this be done?

import java.util.; public class RomanNumerals public
PayPal Gateway not configured
PayPal Gateway not configured