1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-16 10:09:55 +00:00

Make error messages more consistent

This commit is contained in:
SquidDev 2017-06-13 19:33:42 +01:00
parent fac625173a
commit eb628e9b62
2 changed files with 5 additions and 5 deletions

View File

@ -172,7 +172,7 @@ public void makeDirectory( String path ) throws FileSystemException
{
if( m_writableMount == null )
{
throw new FileSystemException( "Access Denied" );
throw new FileSystemException( "Access denied" );
}
try
{
@ -199,7 +199,7 @@ public void delete( String path ) throws FileSystemException
{
if( m_writableMount == null )
{
throw new FileSystemException( "Access Denied" );
throw new FileSystemException( "Access denied" );
}
try
{
@ -219,7 +219,7 @@ public OutputStream openForWrite( String path ) throws FileSystemException
{
if( m_writableMount == null )
{
throw new FileSystemException( "Access Denied" );
throw new FileSystemException( "Access denied" );
}
try
{
@ -251,7 +251,7 @@ public OutputStream openForAppend( String path ) throws FileSystemException
{
if( m_writableMount == null )
{
throw new FileSystemException( "Access Denied" );
throw new FileSystemException( "Access denied" );
}
try
{

View File

@ -310,7 +310,7 @@ local function accessMenu()
-- Select an option
if mChoices[selection]=="Save" then
if bReadOnly then
fMessage = "Access Denied"
fMessage = "Access denied"
return false
end
local success = save(sPath)