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:
parent
fac625173a
commit
eb628e9b62
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user