Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

allensoft.javacvs.client
Class TextFileContainsBinaryException  view TextFileContainsBinaryException download TextFileContainsBinaryException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byallensoft.javacvs.client.CVSException
              extended byallensoft.javacvs.client.TextFileContainsBinaryException
All Implemented Interfaces:
java.io.Serializable

public class TextFileContainsBinaryException
extends CVSException

Exception thrown when a file is not marked as binary but contains binary. JavaCVS is tricter than cvs and won't allow a file that contains binary characters to be sent to the server if it is not pure text. This is beacuse the \r\n sequence gets changed to \n and this could corrupt a file if it is really a binary file.


Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
 
Fields inherited from class allensoft.javacvs.client.CVSException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
TextFileContainsBinaryException(java.io.File file)
           
 
Methods inherited from class allensoft.javacvs.client.CVSException
getNestedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextFileContainsBinaryException

public TextFileContainsBinaryException(java.io.File file)