How to replace following lines,
catch (DAOException e)
{
objLogger.error(this.getClass
() + "addUpdateIssues() " + e);
throw new BOException(5122);
} catch (BOException e)
{
objLogger.error(this.getClass
() + "addUpdateIssues() " + e);
throw e;
} catch (Exception e)
{
objLogger.error(this.getClass
() + "addUpdateIssues() " + e);
throw new BOException(5122);
}
Needs to be changed in to,
catch (DAOException e)
{
AppException.handleException
(null, null, e, null, null, null, "BOException",
this.getClass() + "addUpdateIssues() ", null, null, null,
null, null, null, null, null, 5122);
} catch (BOException e)
{
AppException.handleException
(null, null, null, e, null, null, "BOException",
this.getClass() + "addUpdateIssues() ", null, null, null,
null, null, null, null, null, 0);
} catch (Exception e)
{
AppException.handleException
(null, null, null, null, null, e, "BOException",
this.getClass() + "addUpdateIssues() ", null, null, null,
null, null, null, null, null, 5122);
}
shell script for reverse the string
What are the disadvantages of shell scripting?
What are the different types of shell scripting?
What is sh in shell script?
What is bash eval?
What are scripts in psychology?
What is batch file programming?
Differentiate between ‘ and ” quotes.
Create a bash shell script that removes all files whose names end with a "~" from your home directory and subdirectories. Name this script "cleanup.sh"
What is eval in shell script?
How can any user find out all information about a specific user like his default shell, real-life name, default directory, when and how long he has been using the system?
What language is bash written in?