1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-28 16:13:22 +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 ) if( m_writableMount == null )
{ {
throw new FileSystemException( "Access Denied" ); throw new FileSystemException( "Access denied" );
} }
try try
{ {
@ -199,7 +199,7 @@ public void delete( String path ) throws FileSystemException
{ {
if( m_writableMount == null ) if( m_writableMount == null )
{ {
throw new FileSystemException( "Access Denied" ); throw new FileSystemException( "Access denied" );
} }
try try
{ {
@ -219,7 +219,7 @@ public OutputStream openForWrite( String path ) throws FileSystemException
{ {
if( m_writableMount == null ) if( m_writableMount == null )
{ {
throw new FileSystemException( "Access Denied" ); throw new FileSystemException( "Access denied" );
} }
try try
{ {
@ -251,7 +251,7 @@ public OutputStream openForAppend( String path ) throws FileSystemException
{ {
if( m_writableMount == null ) if( m_writableMount == null )
{ {
throw new FileSystemException( "Access Denied" ); throw new FileSystemException( "Access denied" );
} }
try try
{ {

View File

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